Sign in

lucas

@lucasdoell.me
216 followers 654 following 74 posts

forever futurebound 🎈 📍 ithaca, ny 🎓 cornell cs software engineer focused mainly on typescript and react • lux.dev • ntmr.org

PostsRepliesMedia
lucas @lucasdoell.me · 22/12/2024
seems to have some variance based on platform and the difference is not nearly as drastic a good way to show that it’s better to prioritize DX, since real world performance differences are likely to be negligible
A benchmark result for jsbenchmark.com showing the results for different functions to convert a string to camelCase. The results are as follows:

Regex
Ops/s: 6,834,592
Average run time: 0.00015 ms
chartoLowerCase 0ps/s: 5,693, 972
Average run time: 0.00018 ms
charCodeAt
Ops/s: 8,554, 142
Average run time: 0.00012 ms
010
lucas @lucasdoell.me · 04/12/2024
do i get to find out what i got wrong? 😁
A screenshot of Total TypeScript’s “What Makes A Wizard Quiz” showing the results with a score of 49/55, with a grade of “Mage”.
010