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
performance test between datatable and jqGrid in terms of building grouped tables.
<script src="http://jquery-datatables-row-grouping.googlecode.com/svn/trunk/media/js/jquery.min.js"></script>
<script src="http://jquery-datatables-row-grouping.googlecode.com/svn/trunk/media/js/jquery-ui.js"></script>
<script src="http://jquery-datatables-row-grouping.googlecode.com/svn/trunk/media/js/jquery.dataTables.min.js"></script>
<script src="http://jquery-datatables-row-grouping.googlecode.com/svn/trunk/media/js/jquery.dataTables.rowGrouping.js"></script>
<script src="http://trirand.com/blog/jqgrid/js/i18n/grid.locale-en.js"></script>
<script src="http://trirand.com/blog/jqgrid/js/jquery.jqGrid.min.js"></script>
<link rel="stylesheet" type="text/css" href="http://www.trirand.com/blog/jqgrid/themes/ui.jqgrid.css" />
<link rel="stylesheet" type="text/css" href="http://jquery-datatables-row-grouping.googlecode.com/svn/trunk/media/css/demo_page.css"/>
<link rel="stylesheet" type="text/css" href="http://jquery-datatables-row-grouping.googlecode.com/svn/trunk/media/css/demo_table.css" />
<link rel="stylesheet" type="text/css" media="screen" href="http://www.trirand.com/blog/jqgrid/themes/redmond/jquery-ui-custom.css" />
<script>
var mydata1 = [
["1","2010-05-24","test","note","300.00","10.00","2111.00"] ,
["2","2010-05-25","test2","note2","300.00","20.00","320.00"],
["3","2007-09-01","test3","note3","300.00","30.00","430.00"],
["4","2007-10-04","test","note","300.00","10.00","210.00"],
["5","2007-10-05","test2","note2","300.00","20.00","320.00"],
["6","2007-09-06","test3","note3","300.00","30.00","430.00"],
["7","2007-10-04","test","note","300.00","10.00","210.00"],
["8","2007-10-03","test2","note2","300.00","21.00","320.00"],
["9","2007-09-01","test3","note3","400.00","30.00","430.00"],
["10","2007-09-02","test3","note3","400.00","30.00","430.00"],
["11","2007-10-01","test","note","200.00","10.00","210.00"],
["12","2007-10-02","test2","note2","300.00","20.00","320.00"],
["13","2007-09-01","test3","note3","400.00","30.00","430.00"],
["14","2007-10-04","test","note","200.00","10.00","210.00"],
["15","2007-10-05","test2","note2","300.00","20.00","320.00"],
["16","2007-09-06","test3","note3","400.00","30.00","430.00"],
["17","2007-10-04","test","note","200.00","10.00","210.00"],
["18","2007-10-03","test2","note2","300.00","20.00","320.00"],
["19","2007-09-01","test3","note3","400.00","30.00","430.00"],
["20","2007-09-02","test3","note3","400.00","30.00","430.00"],
["21","2007-10-01","test","note","200.00","10.00","210.00"],
["22","2007-10-02","test2","note2","300.00","20.00","320.00"],
["23","2007-09-01","test3","note3","400.00","30.00","430.00"],
["24","2007-10-04","test","note","200.00","10.00","210.00"],
["25","2007-10-05","test2","note2","300.00","20.00","320.00"],
["26","2007-09-06","test3","note3","400.00","30.00","430.00"],
["27","2007-10-04","test","note","200.00","10.00","210.00"],
["28","2007-10-03","test2","note2","300.00","20.00","320.00"],
["29","2007-09-01","test3","note3","400.00","30.00","430.00"],
["30","2007-09-02","test3","note3","410.00","30.00","440.00"],
["1","2010-05-24","test","note","300.00","10.00","2111.00"] ,
["2","2010-05-25","test2","note2","300.00","20.00","320.00"],
["3","2007-09-01","test3","note3","300.00","30.00","430.00"],
["4","2007-10-04","test","note","300.00","10.00","210.00"],
["5","2007-10-05","test2","note2","300.00","20.00","320.00"],
["6","2007-09-06","test3","note3","300.00","30.00","430.00"],
["7","2007-10-04","test","note","300.00","10.00","210.00"],
["8","2007-10-03","test2","note2","300.00","21.00","320.00"],
["9","2007-09-01","test3","note3","400.00","30.00","430.00"],
["10","2007-09-02","test3","note3","400.00","30.00","430.00"],
["11","2007-10-01","test","note","200.00","10.00","210.00"],
["12","2007-10-02","test2","note2","300.00","20.00","320.00"],
["13","2007-09-01","test3","note3","400.00","30.00","430.00"],
["14","2007-10-04","test","note","200.00","10.00","210.00"],
["15","2007-10-05","test2","note2","300.00","20.00","320.00"],
["16","2007-09-06","test3","note3","400.00","30.00","430.00"],
["17","2007-10-04","test","note","200.00","10.00","210.00"],
["18","2007-10-03","test2","note2","300.00","20.00","320.00"],
["19","2007-09-01","test3","note3","400.00","30.00","430.00"],
["20","2007-09-02","test3","note3","400.00","30.00","430.00"],
["21","2007-10-01","test","note","200.00","10.00","210.00"],
["22","2007-10-02","test2","note2","300.00","20.00","320.00"],
["23","2007-09-01","test3","note3","400.00","30.00","430.00"],
["24","2007-10-04","test","note","200.00","10.00","210.00"],
["25","2007-10-05","test2","note2","300.00","20.00","320.00"],
["26","2007-09-06","test3","note3","400.00","30.00","430.00"],
["27","2007-10-04","test","note","200.00","10.00","210.00"],
["28","2007-10-03","test2","note2","300.00","20.00","320.00"],
["29","2007-09-01","test3","note3","400.00","30.00","430.00"],
["30","2007-09-02","test3","note3","410.00","30.00","440.00"],
["1","2010-05-24","test","note","300.00","10.00","2111.00"] ,
["2","2010-05-25","test2","note2","300.00","20.00","320.00"],
["3","2007-09-01","test3","note3","300.00","30.00","430.00"],
["4","2007-10-04","test","note","300.00","10.00","210.00"],
["5","2007-10-05","test2","note2","300.00","20.00","320.00"],
["6","2007-09-06","test3","note3","300.00","30.00","430.00"],
["7","2007-10-04","test","note","300.00","10.00","210.00"],
["8","2007-10-03","test2","note2","300.00","21.00","320.00"],
["9","2007-09-01","test3","note3","400.00","30.00","430.00"],
["10","2007-09-02","test3","note3","400.00","30.00","430.00"],
["11","2007-10-01","test","note","200.00","10.00","210.00"],
["12","2007-10-02","test2","note2","300.00","20.00","320.00"],
["13","2007-09-01","test3","note3","400.00","30.00","430.00"],
["14","2007-10-04","test","note","200.00","10.00","210.00"],
["15","2007-10-05","test2","note2","300.00","20.00","320.00"],
["16","2007-09-06","test3","note3","400.00","30.00","430.00"],
["17","2007-10-04","test","note","200.00","10.00","210.00"],
["18","2007-10-03","test2","note2","300.00","20.00","320.00"],
["19","2007-09-01","test3","note3","400.00","30.00","430.00"],
["20","2007-09-02","test3","note3","400.00","30.00","430.00"],
["21","2007-10-01","test","note","200.00","10.00","210.00"],
["22","2007-10-02","test2","note2","300.00","20.00","320.00"],
["23","2007-09-01","test3","note3","400.00","30.00","430.00"],
["24","2007-10-04","test","note","200.00","10.00","210.00"],
["25","2007-10-05","test2","note2","300.00","20.00","320.00"],
["26","2007-09-06","test3","note3","400.00","30.00","430.00"],
["27","2007-10-04","test","note","200.00","10.00","210.00"],
["28","2007-10-03","test2","note2","300.00","20.00","320.00"],
["29","2007-09-01","test3","note3","400.00","30.00","430.00"],
["30","2007-09-02","test3","note3","410.00","30.00","440.00"],
["1","2010-05-24","test","note","300.00","10.00","2111.00"] ,
["2","2010-05-25","test2","note2","300.00","20.00","320.00"],
["3","2007-09-01","test3","note3","300.00","30.00","430.00"],
["4","2007-10-04","test","note","300.00","10.00","210.00"],
["5","2007-10-05","test2","note2","300.00","20.00","320.00"],
["6","2007-09-06","test3","note3","300.00","30.00","430.00"],
["7","2007-10-04","test","note","300.00","10.00","210.00"],
["8","2007-10-03","test2","note2","300.00","300.00","21.00","320.00"],
["9","2007-09-01","test3","note3","300.00","400.00","30.00","430.00"],
["10","2007-09-02","test3","note3","300.00","400.00","30.00","430.00"]
];
var mydata2 = [
{id:"1",invdate:"2010-05-24",name:"test",note:"note",amount:"300.00",tax:"10.00",total:"2111.00"} ,
{id:"2",invdate:"2010-05-25",name:"test2",note:"note2",amount:"300.00",tax:"20.00",total:"320.00"},
{id:"3",invdate:"2007-09-01",name:"test3",note:"note3",amount:"300.00",tax:"30.00",total:"430.00"},
{id:"4",invdate:"2007-10-04",name:"test",note:"note",amount:"300.00",tax:"10.00",total:"210.00"},
{id:"5",invdate:"2007-10-05",name:"test2",note:"note2",amount:"300.00",tax:"20.00",total:"320.00"},
{id:"6",invdate:"2007-09-06",name:"test3",note:"note3",amount:"300.00",tax:"30.00",total:"430.00"},
{id:"7",invdate:"2007-10-04",name:"test",note:"note",amount:"300.00",tax:"10.00",total:"210.00"},
{id:"8",invdate:"2007-10-03",name:"test2",note:"note2",amount:"300.00",tax:"21.00",total:"320.00"},
{id:"9",invdate:"2007-09-01",name:"test3",note:"note3",amount:"400.00",tax:"30.00",total:"430.00"},
{id:"10",invdate:"2007-09-02",name:"test3",note:"note3",amount:"400.00",tax:"30.00",total:"430.00"},
{id:"11",invdate:"2007-10-01",name:"test",note:"note",amount:"200.00",tax:"10.00",total:"210.00"},
{id:"12",invdate:"2007-10-02",name:"test2",note:"note2",amount:"300.00",tax:"20.00",total:"320.00"},
{id:"13",invdate:"2007-09-01",name:"test3",note:"note3",amount:"400.00",tax:"30.00",total:"430.00"},
{id:"14",invdate:"2007-10-04",name:"test",note:"note",amount:"200.00",tax:"10.00",total:"210.00"},
{id:"15",invdate:"2007-10-05",name:"test2",note:"note2",amount:"300.00",tax:"20.00",total:"320.00"},
{id:"16",invdate:"2007-09-06",name:"test3",note:"note3",amount:"400.00",tax:"30.00",total:"430.00"},
{id:"17",invdate:"2007-10-04",name:"test",note:"note",amount:"200.00",tax:"10.00",total:"210.00"},
{id:"18",invdate:"2007-10-03",name:"test2",note:"note2",amount:"300.00",tax:"20.00",total:"320.00"},
{id:"19",invdate:"2007-09-01",name:"test3",note:"note3",amount:"400.00",tax:"30.00",total:"430.00"},
{id:"20",invdate:"2007-09-02",name:"test3",note:"note3",amount:"400.00",tax:"30.00",total:"430.00"},
{id:"21",invdate:"2007-10-01",name:"test",note:"note",amount:"200.00",tax:"10.00",total:"210.00"},
{id:"22",invdate:"2007-10-02",name:"test2",note:"note2",amount:"300.00",tax:"20.00",total:"320.00"},
{id:"23",invdate:"2007-09-01",name:"test3",note:"note3",amount:"400.00",tax:"30.00",total:"430.00"},
{id:"24",invdate:"2007-10-04",name:"test",note:"note",amount:"200.00",tax:"10.00",total:"210.00"},
{id:"25",invdate:"2007-10-05",name:"test2",note:"note2",amount:"300.00",tax:"20.00",total:"320.00"},
{id:"26",invdate:"2007-09-06",name:"test3",note:"note3",amount:"400.00",tax:"30.00",total:"430.00"},
{id:"27",invdate:"2007-10-04",name:"test",note:"note",amount:"200.00",tax:"10.00",total:"210.00"},
{id:"28",invdate:"2007-10-03",name:"test2",note:"note2",amount:"300.00",tax:"20.00",total:"320.00"},
{id:"29",invdate:"2007-09-01",name:"test3",note:"note3",amount:"400.00",tax:"30.00",total:"430.00"},
{id:"30",invdate:"2007-09-02",name:"test3",note:"note3",amount:"410.00",tax:"30.00",total:"440.00"},
{id:"1",invdate:"2010-05-24",name:"test",note:"note",amount:"300.00",tax:"10.00",total:"2111.00"} ,
{id:"2",invdate:"2010-05-25",name:"test2",note:"note2",amount:"300.00",tax:"20.00",total:"320.00"},
{id:"3",invdate:"2007-09-01",name:"test3",note:"note3",amount:"300.00",tax:"30.00",total:"430.00"},
{id:"4",invdate:"2007-10-04",name:"test",note:"note",amount:"300.00",tax:"10.00",total:"210.00"},
{id:"5",invdate:"2007-10-05",name:"test2",note:"note2",amount:"300.00",tax:"20.00",total:"320.00"},
{id:"6",invdate:"2007-09-06",name:"test3",note:"note3",amount:"300.00",tax:"30.00",total:"430.00"},
{id:"7",invdate:"2007-10-04",name:"test",note:"note",amount:"300.00",tax:"10.00",total:"210.00"},
{id:"8",invdate:"2007-10-03",name:"test2",note:"note2",amount:"300.00",tax:"21.00",total:"320.00"},
{id:"9",invdate:"2007-09-01",name:"test3",note:"note3",amount:"400.00",tax:"30.00",total:"430.00"},
{id:"10",invdate:"2007-09-02",name:"test3",note:"note3",amount:"400.00",tax:"30.00",total:"430.00"},
{id:"11",invdate:"2007-10-01",name:"test",note:"note",amount:"200.00",tax:"10.00",total:"210.00"},
{id:"12",invdate:"2007-10-02",name:"test2",note:"note2",amount:"300.00",tax:"20.00",total:"320.00"},
{id:"13",invdate:"2007-09-01",name:"test3",note:"note3",amount:"400.00",tax:"30.00",total:"430.00"},
{id:"14",invdate:"2007-10-04",name:"test",note:"note",amount:"200.00",tax:"10.00",total:"210.00"},
{id:"15",invdate:"2007-10-05",name:"test2",note:"note2",amount:"300.00",tax:"20.00",total:"320.00"},
{id:"16",invdate:"2007-09-06",name:"test3",note:"note3",amount:"400.00",tax:"30.00",total:"430.00"},
{id:"17",invdate:"2007-10-04",name:"test",note:"note",amount:"200.00",tax:"10.00",total:"210.00"},
{id:"18",invdate:"2007-10-03",name:"test2",note:"note2",amount:"300.00",tax:"20.00",total:"320.00"},
{id:"19",invdate:"2007-09-01",name:"test3",note:"note3",amount:"400.00",tax:"30.00",total:"430.00"},
{id:"20",invdate:"2007-09-02",name:"test3",note:"note3",amount:"400.00",tax:"30.00",total:"430.00"},
{id:"21",invdate:"2007-10-01",name:"test",note:"note",amount:"200.00",tax:"10.00",total:"210.00"},
{id:"22",invdate:"2007-10-02",name:"test2",note:"note2",amount:"300.00",tax:"20.00",total:"320.00"},
{id:"23",invdate:"2007-09-01",name:"test3",note:"note3",amount:"400.00",tax:"30.00",total:"430.00"},
{id:"24",invdate:"2007-10-04",name:"test",note:"note",amount:"200.00",tax:"10.00",total:"210.00"},
{id:"25",invdate:"2007-10-05",name:"test2",note:"note2",amount:"300.00",tax:"20.00",total:"320.00"},
{id:"26",invdate:"2007-09-06",name:"test3",note:"note3",amount:"400.00",tax:"30.00",total:"430.00"},
{id:"27",invdate:"2007-10-04",name:"test",note:"note",amount:"200.00",tax:"10.00",total:"210.00"},
{id:"28",invdate:"2007-10-03",name:"test2",note:"note2",amount:"300.00",tax:"20.00",total:"320.00"},
{id:"29",invdate:"2007-09-01",name:"test3",note:"note3",amount:"400.00",tax:"30.00",total:"430.00"},
{id:"30",invdate:"2007-09-02",name:"test3",note:"note3",amount:"410.00",tax:"30.00",total:"440.00"},
{id:"1",invdate:"2010-05-24",name:"test",note:"note",amount:"300.00",tax:"10.00",total:"2111.00"} ,
{id:"2",invdate:"2010-05-25",name:"test2",note:"note2",amount:"300.00",tax:"20.00",total:"320.00"},
{id:"3",invdate:"2007-09-01",name:"test3",note:"note3",amount:"300.00",tax:"30.00",total:"430.00"},
{id:"4",invdate:"2007-10-04",name:"test",note:"note",amount:"300.00",tax:"10.00",total:"210.00"},
{id:"5",invdate:"2007-10-05",name:"test2",note:"note2",amount:"300.00",tax:"20.00",total:"320.00"},
{id:"6",invdate:"2007-09-06",name:"test3",note:"note3",amount:"300.00",tax:"30.00",total:"430.00"},
{id:"7",invdate:"2007-10-04",name:"test",note:"note",amount:"300.00",tax:"10.00",total:"210.00"},
{id:"8",invdate:"2007-10-03",name:"test2",note:"note2",amount:"300.00",tax:"21.00",total:"320.00"},
{id:"9",invdate:"2007-09-01",name:"test3",note:"note3",amount:"400.00",tax:"30.00",total:"430.00"},
{id:"10",invdate:"2007-09-02",name:"test3",note:"note3",amount:"400.00",tax:"30.00",total:"430.00"},
{id:"11",invdate:"2007-10-01",name:"test",note:"note",amount:"200.00",tax:"10.00",total:"210.00"},
{id:"12",invdate:"2007-10-02",name:"test2",note:"note2",amount:"300.00",tax:"20.00",total:"320.00"},
{id:"13",invdate:"2007-09-01",name:"test3",note:"note3",amount:"400.00",tax:"30.00",total:"430.00"},
{id:"14",invdate:"2007-10-04",name:"test",note:"note",amount:"200.00",tax:"10.00",total:"210.00"},
{id:"15",invdate:"2007-10-05",name:"test2",note:"note2",amount:"300.00",tax:"20.00",total:"320.00"},
{id:"16",invdate:"2007-09-06",name:"test3",note:"note3",amount:"400.00",tax:"30.00",total:"430.00"},
{id:"17",invdate:"2007-10-04",name:"test",note:"note",amount:"200.00",tax:"10.00",total:"210.00"},
{id:"18",invdate:"2007-10-03",name:"test2",note:"note2",amount:"300.00",tax:"20.00",total:"320.00"},
{id:"19",invdate:"2007-09-01",name:"test3",note:"note3",amount:"400.00",tax:"30.00",total:"430.00"},
{id:"20",invdate:"2007-09-02",name:"test3",note:"note3",amount:"400.00",tax:"30.00",total:"430.00"},
{id:"21",invdate:"2007-10-01",name:"test",note:"note",amount:"200.00",tax:"10.00",total:"210.00"},
{id:"22",invdate:"2007-10-02",name:"test2",note:"note2",amount:"300.00",tax:"20.00",total:"320.00"},
{id:"23",invdate:"2007-09-01",name:"test3",note:"note3",amount:"400.00",tax:"30.00",total:"430.00"},
{id:"24",invdate:"2007-10-04",name:"test",note:"note",amount:"200.00",tax:"10.00",total:"210.00"},
{id:"25",invdate:"2007-10-05",name:"test2",note:"note2",amount:"300.00",tax:"20.00",total:"320.00"},
{id:"26",invdate:"2007-09-06",name:"test3",note:"note3",amount:"400.00",tax:"30.00",total:"430.00"},
{id:"27",invdate:"2007-10-04",name:"test",note:"note",amount:"200.00",tax:"10.00",total:"210.00"},
{id:"28",invdate:"2007-10-03",name:"test2",note:"note2",amount:"300.00",tax:"20.00",total:"320.00"},
{id:"29",invdate:"2007-09-01",name:"test3",note:"note3",amount:"400.00",tax:"30.00",total:"430.00"},
{id:"30",invdate:"2007-09-02",name:"test3",note:"note3",amount:"410.00",tax:"30.00",total:"440.00"},
{id:"1",invdate:"2010-05-24",name:"test",note:"note",amount:"300.00",tax:"10.00",total:"2111.00"} ,
{id:"2",invdate:"2010-05-25",name:"test2",note:"note2",amount:"300.00",tax:"20.00",total:"320.00"},
{id:"3",invdate:"2007-09-01",name:"test3",note:"note3",amount:"300.00",tax:"30.00",total:"430.00"},
{id:"4",invdate:"2007-10-04",name:"test",note:"note",amount:"300.00",tax:"10.00",total:"210.00"},
{id:"5",invdate:"2007-10-05",name:"test2",note:"note2",amount:"300.00",tax:"20.00",total:"320.00"},
{id:"6",invdate:"2007-09-06",name:"test3",note:"note3",amount:"300.00",tax:"30.00",total:"430.00"},
{id:"7",invdate:"2007-10-04",name:"test",note:"note",amount:"300.00",tax:"10.00",total:"210.00"},
{id:"8",invdate:"2007-10-03",name:"test2",note:"note2",amount:"300.00",tax:"21.00",total:"320.00"},
{id:"9",invdate:"2007-09-01",name:"test3",note:"note3",amount:"400.00",tax:"30.00",total:"430.00"},
{id:"10",invdate:"2007-09-02",name:"test3",note:"note3",amount:"400.00",tax:"30.00",total:"430.00"}
];
</script>
<table id="list1"></table>
<table id="list2"></table>
Ready to run.
Test | Ops/sec | |
---|---|---|
datatable grouping |
| ready |
jqGrid grouping |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.