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
count string size
var string = '{"name":"Kimi","type":"AI Assistant","isActive":true,"details":{"version":"1.0","languages":["Chinese","English"],"features":[{"name":"Text Processing","description":"Capable of processing large amounts of text."},{"name":"File Handling","description":"Able to read and analyze various file formats."},{"name":"Search Assistance","description":"Provide search results and integrate them into responses."}],"availability":{"timezone":"UTC+8","uptime":"24/7"}},"statistics":{"totalUsers":100000,"activeUsers":25000,"userGrowth":{"lastMonth":10,"thisMonth":15},"userSessions":[{"userId":"user123","sessionLength":3600,"interactions":50},{"userId":"user456","sessionLength":1800,"interactions":30}]},"feedback":[{"userId":"user789","rating":5,"comment":"Kimi is very helpful and responsive."},{"userId":"user012","rating":4,"comment":"Kimi could be more proactive in offering assistance."}],"settings":{"theme":"Light","notifications":true,"language":"English"}}';
Ready to run.
Test | Ops/sec | |
---|---|---|
use string.length |
| ready |
use blob |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.