[HN Gopher] JSBen.ch - Performance benchmarking playground for J...
___________________________________________________________________
JSBen.ch - Performance benchmarking playground for JavaScript
Author : andrei-akopian
Score : 55 points
Date : 2024-07-12 02:18 UTC (20 hours ago)
(HTM) web link (jsben.ch)
(TXT) w3m dump (jsben.ch)
| refactorguy wrote:
| Happy to see it return. Are all the benchmarks back? It would be
| nice if all those links from Stack Overflow work again.
| Bengalilol wrote:
| Almost ... That's an old link : https://jsben.ch/#/BQhED If you
| get rid of the #/ it seems to work https://jsben.ch/BQhED
| johtso wrote:
| Maybe those links could be updated in some automated way?
| jefozabuss wrote:
| they could add a url redirect on the client side if they
| match the old hash routed url
| Bengalilol wrote:
| It would be quite easy. I sent a message to the creator,
| hopefully he'll implement that for you and everyone ^^
| edf13 wrote:
| Guessing the benchmark results are for number of runs? Over what
| time period?
| lionkor wrote:
| Just post your code into ChatGPT and ask it to generate a
| benchmark /s
| n_plus_1_acc wrote:
| Seems a little complicated, you can just ask for bechmark
| results.
| llagerlof wrote:
| Sometimes got stuck on 0% rocket screen. Don't know why.
|
| edit: It's when the code throw some error. The user should
| receive an alert.
| andrei-akopian wrote:
| The website has no about page or any other links. I am not the
| dev and I don't know who the dev is. I found the site yesterday
| on Stackoverflow.
| lelandfe wrote:
| Seems to be a German chap:
| https://www.reddit.com/r/javascript/comments/58tlmv/created_...
| the_arun wrote:
| Do we have any browser extension to run this on a specific
| webpage & suggest code blocks with potentially bad patterns from
| a Performance standpoint?
| andrei-akopian wrote:
| Modern computers are very fast, it is hard to push them to the
| limits using just JavaScript. 99% of performance based
| decisions are premature optimization. Few operations are so
| complex and have to be done in such large numbers that they
| will take to long for the user.
|
| Benchmarks are A/B tests. What you are talking about is called
| a "profiler" and if you google "JavaScript Profiler" quite a
| few will come up (including an extension).
|
| Modern Browsers have a "Task Manager" in "three dots" > More
| Tools > Task Manager.
|
| I realized I don't know what the actual bottlenecks are on
| websites. Background processes adding up across tabs I assume?
| If someone knows please tell me/us.
| vanderZwan wrote:
| I'll stick to https://jsbenchit.org/. If it ever goes down I'll
| still have all the code snippets in gist form, and a repo to
| self-host locally.
___________________________________________________________________
(page generated 2024-07-12 23:01 UTC)