Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
testing
(version: 0)
test
Comparing performance of:
1st vs 2nd vs 3rd vs 4th vs 5th
Created:
8 years ago
by:
Guest
Jump to the latest result
Tests:
1st
var i = "HDMU987481" var a = 0; var x = i.charCodeAt(0)-55; var y = i.charCodeAt(1)-55; var z = i.charCodeAt(2)-55; var w = i.charCodeAt(3)-55; a+=Math.floor(x>>3.35)+x; a+=(Math.floor(y>>3.35)+y)<<1; a+=(Math.floor(z>>3.35)+z)<<2; a+=(Math.floor(w>>3.35)+w)<<3; a+=(i.charCodeAt(4)-48)<<4; a+=(i.charCodeAt(5)-48)<<5; a+=(i.charCodeAt(6)-48)<<6; a+=(i.charCodeAt(7)-48)<<7; a+=(i.charCodeAt(8)-48)<<8; a+=(i.charCodeAt(9)-48)<<9; var b = a % 11 % 10; return b
2nd
var i = "HDMU987481" var a = 0; var x = i.charCodeAt(0)-55; var y = i.charCodeAt(1)-55; var z = i.charCodeAt(2)-55; var w = i.charCodeAt(3)-55; a+=Math.floor(x>>3.35)+x; a+=(Math.floor(y>>3.35)+y)*2; a+=(Math.floor(z>>3.35)+z)*4; a+=(Math.floor(w>>3.35)+w)*8; a+=i.charCodeAt(4)*16-768; a+=i.charCodeAt(5)*32-1536; a+=i.charCodeAt(6)*64-3072; a+=i.charCodeAt(7)*128-6144; a+=i.charCodeAt(8)*256-12288; a+=i.charCodeAt(9)*512-24576; var b = a % 11 % 10; return b
3rd
var i = "HDMU987481" var a = 0; var x = i.charCodeAt(0)-55; var y = i.charCodeAt(1)-55; var z = i.charCodeAt(2)-55; var w = i.charCodeAt(3)-55; a+=((x>>3.35)+x)>>0; a+=(((y>>3.35)+y)>>0)<<1; a+=(((z>>3.35)+z)>>0)<<2; a+=(((w>>3.35)+w)>>0)<<3; a+=(i.charCodeAt(4)-48)<<4; a+=(i.charCodeAt(5)-48)<<5; a+=(i.charCodeAt(6)-48)<<6; a+=(i.charCodeAt(7)-48)<<7; a+=(i.charCodeAt(8)-48)<<8; a+=(i.charCodeAt(9)-48)<<9; var b = a % 11 % 10; return b
4th
var i = "HDMU987481" var a = 0; var x = i.charCodeAt(0)-55; var y = i.charCodeAt(1)-55; var z = i.charCodeAt(2)-55; var w = i.charCodeAt(3)-55; a+=(x>>3.35)+x>>0; a+=(y>>3.35)+y>>0<<1; a+=(z>>3.35)+z>>0<<2; a+=(w>>3.35)+w>>0<<3; a+=(i.charCodeAt(4)<<4)-768; a+=(i.charCodeAt(5)<<5)-1536; a+=(i.charCodeAt(6)<<6)-3072; a+=(i.charCodeAt(7)<<7)-6144; a+=(i.charCodeAt(8)<<8)-12288; a+=(i.charCodeAt(9)<<9)-24576; var b = a % 11 % 10; return b
5th
var o = "HDMU987481" var a=0,n=55,c=10.2,e=48; var x=o.charCodeAt(0)-n; var z=o.charCodeAt(1)-n; var w=o.charCodeAt(2)-n; var v=o.charCodeAt(3)-n; a+=(x/c)+x>>0; a+=(z/c)+z>>0<<1; a+=(w/c)+w>>0<<2; a+=(v/c)+v>>0<<3; a+=-e+o.charCodeAt(4)<<4; a+=-e+o.charCodeAt(5)<<5; a+=-e+o.charCodeAt(6)<<6; a+=-e+o.charCodeAt(7)<<7; a+=-e+o.charCodeAt(8)<<8; a+=-e+o.charCodeAt(9)<<9; var d=a%11%10; return d
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (5)
Previous results
Fork
Test case name
Result
1st
2nd
3rd
4th
5th
Fastest:
N/A
Slowest:
N/A
Latest run results:
No previous run results
This benchmark does not have any results yet. Be the first one
to run it!
Autogenerated LLM Summary
(model
llama3.2:3b
, generated one year ago):
Let's break down the provided JSON and explain what's being tested. **Benchmark Definition** The benchmark definition is a string that represents the JavaScript code to be executed. In this case, it appears to be testing the performance of various arithmetic operations on a specific string (`"HDMU987481"`). **Options Compared** There are four test cases with different arithmetic operation sequences: 1. **Test Case 1 ("1st")**: The operation sequence is `a += (x>>3.35) + x`, `a += ((y>>3.35)+y)>>0`, ..., `b = a % 11 % 10`. 2. **Test Case 2 ("2nd")**: The operation sequence is similar to Test Case 1, but with some differences in the indexing and shifting operations. 3. **Test Case 3 ("3rd")**: The operation sequence has different shifts and indexing, but still uses a similar arithmetic pattern. 4. **Test Case 4 ("4th")**: This test case appears to be using a different approach, with shifts and indexing that don't directly relate to the previous three cases. **Key Observations** * All tests use the same input string (`"HDMU987481"`). * The arithmetic operations involve bit shifting, addition, and indexing. * Test Case 4 ("4th") appears to be testing a different approach or optimization technique. **Latest Benchmark Result** The latest benchmark results show that: * Firefox 54 is the fastest browser for all four test cases. * The device platform and operating system are Windows 7. * The average executions per second (FPS) vary between 974,073,984.0, 969,996,864.0, 964,432,320.0, and 738,640,96.0. In summary, this benchmark is testing the performance of various arithmetic operations on a specific string using different approaches and sequences. The results suggest that Firefox 54 is the fastest browser for these tests, with some variations in FPS between different test cases and browsers.
Related benchmarks:
more vs not equal
test of equals
!= vs >= war
Comparison benchmark <= vs < vs ==
ehandling
Comments
Confirm delete:
Do you really want to delete benchmark?