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
var structure1 = [
{
headers: [{
key: 'key1',
value: 'value1'
},
{
key: 'key2',
value: 'value2'
}]
},
{
headers: [{
key: 'key3',
value: 'value3'
}]
},
{
headers: [{
key: 'key4',
value: 'value4'
},
{
key: 'key5',
value: 'value5'
},
{
key: 'key6',
value: 'value6'
}]
}
]
var structure2 = [
{
headers: [{
'key1': 'value1'
},
{
'key2': 'value2'
}]
},
{
headers: [{
'key3': 'value3'
}]
},
{
headers: [{
'key4': 'value4'
},
{
'key5': 'value5'
},
{
'key6': 'value6'
}]
}
]
var structure3 = [
{
headers: [
['key1', 'value1'],
['key2', 'value2'],
]
},
{
headers: [
['key3', 'value3'],
]
},
{
headers: [
['key4', 'value4'],
['key5', 'value5'],
['key6', 'value6'],
]
}
]
var structure4 = [
{
headers: [
'key1_value1',
'key2_value2',
]
},
{
headers: [
'key3_value3',
]
},
{
headers: [
'key4_value4',
'key5_value5',
'key6_value6',
]
}
]
var structure5 = [
{
headers: 'key1_value1,key2_value2'
},
{
headers: 'key3_value3'
},
{
headers: 'key4_value4,key5_value5,key6_value6'
},
]
Ready to run.
Test | Ops/sec | |
---|---|---|
Structure 1 |
| ready |
Structure 2 |
| ready |
Structure 3 |
| ready |
Structure 4 |
| ready |
Structure 5 |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.