Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
benchmarkname-1123123 123 ds1s
(version: 0)
Comparing performance of:
1 vs 2 vs 3 vs 4 vs 5 vs 6 vs 7 vs 8
Created:
one year ago
by:
Guest
Jump to the latest result
Script Preparation code:
var c1 = 0x1453dc; var c2 = 0x228004;
Tests:
1
const result = ((c1 & 0xFF) - (c2 & 0xFF)) ** 2 + ((c1 >> 0x08 & 0xFF) - (c2 >> 0x08 & 0xFF)) ** 2 + ((c1 >> 0x10 & 0xFF) - (c2 >> 0x10 & 0xFF)) ** 2;
2
const result = ((c1 & 0xFF) - (c2 & 0xFF)) * ((c1 & 0xFF) - (c2 & 0xFF)) + ((c1 >> 0x08 & 0xFF) - (c2 >> 0x08 & 0xFF)) * ((c1 >> 0x08 & 0xFF) - (c2 >> 0x08 & 0xFF)) + ((c1 >> 0x10 & 0xFF) - (c2 >> 0x10 & 0xFF)) * ((c1 >> 0x10 & 0xFF) - (c2 >> 0x10 & 0xFF));
3
const r = (c1 >> 0x10 & 0xFF) - (c2 >> 0x10 & 0xFF); const g = (c1 >> 0x08 & 0xFF) - (c2 >> 0x08 & 0xFF); const b = (c1 & 0xFF) - (c2 & 0xFF); const result = r * r + g * g + b * b;
4
const r = (c1 >> 0x10 & 0xFF) - (c2 >> 0x10 & 0xFF); const g = (c1 >> 0x08 & 0xFF) - (c2 >> 0x08 & 0xFF); const b = (c1 & 0xFF) - (c2 & 0xFF); const result = r ** 2 + g ** 2 + b ** 2;
5
const r1 = c1 & 0xFF; const g1 = c1 >> 8 & 0xFF; const b1 = c1 >> 16 & 0xFF; const r2 = c2 & 0xFF; const g2 = c2 >> 8 & 0xFF; const b2 = c2 >> 16 & 0xFF; const r = r1 - r2; const g = g1 - g2; const b = b1 - b2; const result = r * r + g * g + b * b;
6
const r1 = c1 & 0xFF; const g1 = c1 >> 8 & 0xFF; const b1 = c1 >> 16 & 0xFF; const r2 = c2 & 0xFF; const g2 = c2 >> 8 & 0xFF; const b2 = c2 >> 16 & 0xFF; const r = r1 - r2; const g = g1 - g2; const b = b1 - b2; const result = r ** 2 + g ** 2 + b ** 2;
7
const r = (c1 & 0xFF) - (c2 & 0xFF); const g = (c1 >> 8 & 0xFF) - (c2 >> 8 & 0xFF); const b = (c1 >> 16 & 0xFF) - (c2 >> 16 & 0xFF); const result = r * r + g * g + b * b;
8
const r = (c1 & 0xFF) - (c2 & 0xFF); const g = (c1 >> 8 & 0xFF) - (c2 >> 8 & 0xFF); const b = (c1 >> 16 & 0xFF) - (c2 >> 16 & 0xFF); const result = r ** 2 + g ** 2 + b ** 2;
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (8)
Previous results
Fork
Test case name
Result
1
2
3
4
5
6
7
8
Fastest:
N/A
Slowest:
N/A
Latest run results:
Run details:
(Test run date:
one year ago
)
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36
Browser/OS:
Chrome 127 on Windows
View result in a separate tab
Embed
Embed Benchmark Result
Test name
Executions per second
1
2235877.2 Ops/sec
2
1134217.4 Ops/sec
3
2244096.2 Ops/sec
4
2246592.5 Ops/sec
5
2223245.8 Ops/sec
6
2222390.5 Ops/sec
7
2241894.0 Ops/sec
8
2167420.0 Ops/sec
Autogenerated LLM Summary
(model
llama3.2:3b
, generated one year ago):
It looks like we have some benchmarking results from Chrome 127 running on Windows. Let's analyze the results: * The top 4 results are for Test Name "4" with high ExecutionPerSecond values (2246592.5, 2244096.25, 2241894.0, and 2235877.25). This suggests that this test is relatively fast on Chrome 127. * The next 3 results are for Test Name "1" with lower ExecutionPerSecond values (2223245.75, 2222390.5, and 2167420.0). This test seems to be slower than the top 4 results but still relatively quick. * Test Names "2", "3", and "6" have low ExecutionPerSecond values (1134217.375, 2241894.0, and 2223245.75 respectively), indicating they are slower than the top 4 results. However, we can't directly compare these tests to each other without more context. * Test Name "5" has an ExecutionPerSecond value (2223245.75) that's relatively close to Test Names "1", "3", and "6". * The lowest result is for Test Name "8" with a very low ExecutionPerSecond value (2167420.0). Unfortunately, without the specific benchmark code or more context about what each test is measuring, we can't provide a definitive answer on which test is faster or why. However, based on the results alone, it seems that: * Test Name "4" is relatively fast. * Tests Names "1", "3", and "6" are slower than Test Name "4". * Test Names "2" and "5" have ExecutionPerSecond values in between the top and bottom results. * Test Name "8" has a very low value, indicating it might be one of the slowest tests.
Related benchmarks:
JS BigInt big number performance vx4
benchmarkname-1123123 123 ds1s1
benchmarkname-1123123 123 ds1s11
Consider signing in before you create benchmark.322
Comments
Confirm delete:
Do you really want to delete benchmark?