Skip to content

Conversation

@scop
Copy link
Contributor

@scop scop commented Oct 23, 2021

Results from system in front of me:

BenchmarkMap/Size10NoPreallocate-4  	 1954923	       603.7 ns/op	     484 B/op	       3 allocs/op
BenchmarkMap/Size10Preallocate-4    	 2951250	       393.8 ns/op	     340 B/op	       2 allocs/op
BenchmarkMap/Size200NoPreallocate-4 	   71530	     15337 ns/op	   11270 B/op	      25 allocs/op
BenchmarkMap/Size200Preallocate-4   	  126673	      8216 ns/op	    5719 B/op	       8 allocs/op

@scop scop mentioned this pull request Oct 23, 2021
@alexkohler alexkohler merged commit deab4f5 into alexkohler:master Apr 11, 2024
@scop scop deleted the map-benchmarks branch April 11, 2024 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants