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
AS sample event converter
const input = {
"events": [
{
"event": "ANALYSIS_RESULT_UPLOAD_COMPLETE_SUCCESS",
"artifactId": 879,
"projectVersionId": 123,
"filename": "scan__3_.fpr",
"username": "abc"
}
],
"triggeredAt": "2024-11-18T13:30:24.839+00:00",
"sscUrl": "https://foo.bar.com/ssc/",
"webHookId": 6360029
};
const output = input.events.map(event => ({
event_type: "fortify_scan_completed",
client_payload: {
artifactId: event.artifactId,
projectVersionId: event.projectVersionId,
filename: event.filename,
username: event.username,
sscUrl: input.sscUrl
}
}));
console.log(JSON.stringify(output, null, 2));
Ready to run.
Test | Ops/sec | |
---|---|---|
just run it |
| ready |
run again |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.