Skip to content

Instantly share code, notes, and snippets.

@bryanck
Created June 30, 2022 15:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bryanck/9e293b8b10d7f29810ec8fdbb0582ae8 to your computer and use it in GitHub Desktop.
Save bryanck/9e293b8b10d7f29810ec8fdbb0582ae8 to your computer and use it in GitHub Desktop.
Memory benchmark results
Benchmark Mode Cnt Score Error Units
MemoryPerf.arrayCopy sample 1045433 37.021 ± 0.201 ns/op
MemoryPerf.arrayCopy:arrayCopy·p0.00 sample ≈ 0 ns/op
MemoryPerf.arrayCopy:arrayCopy·p0.50 sample 42.000 ns/op
MemoryPerf.arrayCopy:arrayCopy·p0.90 sample 42.000 ns/op
MemoryPerf.arrayCopy:arrayCopy·p0.95 sample 42.000 ns/op
MemoryPerf.arrayCopy:arrayCopy·p0.99 sample 83.000 ns/op
MemoryPerf.arrayCopy:arrayCopy·p0.999 sample 125.000 ns/op
MemoryPerf.arrayCopy:arrayCopy·p0.9999 sample 1250.000 ns/op
MemoryPerf.arrayCopy:arrayCopy·p1.00 sample 20992.000 ns/op
MemoryPerf.arrayFill sample 997396 36.813 ± 0.960 ns/op
MemoryPerf.arrayFill:arrayFill·p0.00 sample ≈ 0 ns/op
MemoryPerf.arrayFill:arrayFill·p0.50 sample 42.000 ns/op
MemoryPerf.arrayFill:arrayFill·p0.90 sample 83.000 ns/op
MemoryPerf.arrayFill:arrayFill·p0.95 sample 83.000 ns/op
MemoryPerf.arrayFill:arrayFill·p0.99 sample 84.000 ns/op
MemoryPerf.arrayFill:arrayFill·p0.999 sample 125.000 ns/op
MemoryPerf.arrayFill:arrayFill·p0.9999 sample 3208.000 ns/op
MemoryPerf.arrayFill:arrayFill·p1.00 sample 234240.000 ns/op
MemoryPerf.directByteBufferBatch sample 1079221 27.068 ± 0.215 ns/op
MemoryPerf.directByteBufferBatch:directByteBufferBatch·p0.00 sample ≈ 0 ns/op
MemoryPerf.directByteBufferBatch:directByteBufferBatch·p0.50 sample 41.000 ns/op
MemoryPerf.directByteBufferBatch:directByteBufferBatch·p0.90 sample 42.000 ns/op
MemoryPerf.directByteBufferBatch:directByteBufferBatch·p0.95 sample 42.000 ns/op
MemoryPerf.directByteBufferBatch:directByteBufferBatch·p0.99 sample 42.000 ns/op
MemoryPerf.directByteBufferBatch:directByteBufferBatch·p0.999 sample 84.000 ns/op
MemoryPerf.directByteBufferBatch:directByteBufferBatch·p0.9999 sample 1585.268 ns/op
MemoryPerf.directByteBufferBatch:directByteBufferBatch·p1.00 sample 23808.000 ns/op
MemoryPerf.unsafeArraySetMemory sample 863326 123.877 ± 0.465 ns/op
MemoryPerf.unsafeArraySetMemory:unsafeArraySetMemory·p0.00 sample ≈ 0 ns/op
MemoryPerf.unsafeArraySetMemory:unsafeArraySetMemory·p0.50 sample 125.000 ns/op
MemoryPerf.unsafeArraySetMemory:unsafeArraySetMemory·p0.90 sample 125.000 ns/op
MemoryPerf.unsafeArraySetMemory:unsafeArraySetMemory·p0.95 sample 125.000 ns/op
MemoryPerf.unsafeArraySetMemory:unsafeArraySetMemory·p0.99 sample 125.000 ns/op
MemoryPerf.unsafeArraySetMemory:unsafeArraySetMemory·p0.999 sample 333.000 ns/op
MemoryPerf.unsafeArraySetMemory:unsafeArraySetMemory·p0.9999 sample 6496.000 ns/op
MemoryPerf.unsafeArraySetMemory:unsafeArraySetMemory·p1.00 sample 58112.000 ns/op
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment