Could you tell me exactly what is the issue?
sumNullsValhalla and sumOptionalValhalla returns 584,967 us/op and 572,833 us/op respectively
sumSimpleValhalla and sumOptionalLongValhalla returns 327,927 us/op and 326,949 us/op respectively
sumNullsValhalla and sumOptionalValhalla returns 584,967 us/op and 572,833 us/op respectively
sumSimpleValhalla and sumOptionalLongValhalla returns 327,927 us/op and 326,949 us/op respectively
- OptionBenchmark.sumOptional avgt 5 2223,887 us/op
vs
- OptionBenchmark.sumOptionalValhalla avgt 5 572,833 us/op
At least to me after the first read it seemed like comparison of two similair 5kish values.
The original article included them as well so thought I would just post the numbers in the same format here.
Is there a missing comma or is comma being used here as a decimal point?
Sum Optional long is about 4x faster. 1.2Million microseconds per operation (pre Valhalla) vs 300K microseconds per operation (post Valhalla).