jsPerf.app is an online JavaScript performance benchmark test runner & jsperf.com mirror. It is a complete rewrite in homage to the once excellent jsperf.com now with hopefully a more modern & maintainable codebase.
jsperf.com URLs are mirrored at the same path, e.g:
https://jsperf.com/negative-modulo/2
Can be accessed at:
https://jsperf.app/negative-modulo/2
const columns = [
{ field: "date", title: "日期" },
{ field: "name", title: "名称" },
{ field: "province", title: "省份" },
{ field: "city", title: "城市" },
{ field: "address", title: "地址" },
];
const rows = Array.from({ length: 10000 }, () => ({
date: "2016-05-03",
name: "小美",
province: "北京",
city: "朝阳区",
address: "北京市朝阳区望京东路四号",
}));
Ready to run.
Test | Ops/sec | |
---|---|---|
Object.assign#对象扩展运算符 |
| ready |
对象扩展运算符 |
| ready |
对象平铺赋值 |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.