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
<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script src="//code.highcharts.com/highcharts.js"></script>
<script src="//code.highcharts.com/modules/exporting.js"></script>
<div id="container" style="height: 400px"></div>
var empty_data = [{
name: 'mnf1',
data: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
}, {
name: 'mnf2',
data: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
}, {
name: 'mnf3',
data: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
}, {
name: 'mnf4',
data: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
}, {
name: 'mnf5',
data: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
}, {
name: 'mnf6',
data: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
}, {
name: 'mnf7',
data: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
}, {
name: 'mnf8',
data: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
}, {
name: 'mnf9',
data: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
}, {
name: 'mnf10',
data: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
}, {
name: 'mnf11',
data: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
}, {
name: 'mnf12',
data: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
}, {
name: 'mnf13',
data: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
}];
var options = {
chart: {
renderTo: 'container',
type: 'spline',
backgroundColor: 'transparent'
},
animation: {
enabled: false
},
title: {
text: null
},
credits: {
enabled: false
},
legend: {
enabled: false
},
tooltip: {
enabled: true
},
exporting: {
enabled: false
},
yAxis: {
labels: {
enabled: true,
formatter: function() {
return this.value / 1000000 + ' M€';
}
},
title: {
text: null
}
},
series: empty_data
};
var chart;
chart.destroy();
Ready to run.
Test | Ops/sec | |
---|---|---|
new chart |
| ready |
update |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.