Skip to content

u32 countOneBits

Eight independent u32 lanes, unrolled 4x, each stepping x = countOneBits(x) ^ k. Counted as 1 op per lane step (the popcount; the XOR that keeps the lane moving not counted).

Measured in OP/s. Higher values mean better performance. Benchmark your device.

Performance distribution

 
1.61 GOP/s109 GOP/s7.45 TOP/s

Performance thresholds

99% of results achieve at least 3.39 GOP/s

95% of results achieve at least 13.6 GOP/s

90% of results achieve at least 28.4 GOP/s

Median (50th percentile) 427 GOP/s

Best performer

Highest recorded performance: 7.45 TOP/s. View benchmark profile.

Recorded 9/14/2026, 2:52:24 PM

WebGPU device
Vendornvidia
Device—
Architectureblackwell
Description—
WebGL device
VendorGoogle Inc. (NVIDIA)
RendererANGLE (NVIDIA, NVIDIA GeForce RTX 5090 (0x00002B85) Direct3D11 vs_5_0 ps_5_0, D3D11)
Browser
NameChrome
Version153.0.0.0
Operating system
NameWindows
Version10