Advertisement · 728 × 90

Posts by

Post image

Reporting back, In @bun.sh, string.includes() is still 88x slower than string.indexOf(). From a computer science algorithm perspective, that result seems unintuitive.

10 months ago 0 0 0 0
Post image

What happened JavaScriptCore? On Firefox and Chrome, string.includes() is about the same speed as string.indexOf(). But in Safari string.includes() is about 10,000x slower:

jsperf.app/sisabo

I need to test if @bun.sh is the same

10 months ago 1 0 0 0