jsperf.com
jsperf.com copied to clipboard
500 error
Hi,
Some jsperf return a server error: https://jsperf.com/bitwise-vs-boolean-data-handling
{"statusCode":500,"error":"Internal Server Error","message":"An internal server error occurred"}
Another server error: https://jsperf.com/float-to-int-conversion-comparison
Other errors:
- https://jsperf.com/try-catch-in-loop-cost
- https://jsperf.com/jquery-find-vs-context-sel/13
- https://jsperf.com/ya-string-concat
Editing is still possible, so duplicating these tests is easy, but losing all the Browserscope data is a bit sad.
Refers to https://github.com/airbnb/javascript/issues/2063
From what I've been browsing:
- https://jsperf.com/fast-array-foreach (referenced in the AirBnB for...of debate)
From the most popular list:
- https://jsperf.com/empty-vs-html2 (most popular all time)
- https://jsperf.com/native-xhr-vs-jquery-ajax (2nd most popular all time)
- https://jsperf.com/regarderdivergente2streaming (4th)
- https://jsperf.com/bug-matching-perf (7th)
- https://jsperf.com/jquery-body-vs-document-body-selector (14th)
- https://jsperf.com/mega-trim-test (15th)
It looks like the trend is that (at least some) of these have been removed due to spam. Rather than returning 500, would it be possible to say "this test has been locked due to spam" and just remove the spammy tests? Apologies if that's out of scope.
I added this one a few days ago:
https://jsperf.com/object-construction-via-loop
All was working fine until I added a comment to the page (not a code comment, a comment via the form at the bottom). When I submitted the comment I got a 500 error back, and everyone who visits the page has got a 500 error since then. I can still access the edit page, but there doesn't seem to be the option to delete a comment.
Could comments be causing the 500 errors?
I experienced the same @benjie (how small the GitHub universe is :slightly_smiling_face: ). https://jsperf.com/the-cost-of-objects returns 500 ever since I added a comment. Trying again without comments..