Skip to content

Instantly share code, notes, and snippets.

@rodrwan
Last active December 26, 2020 21:32
Show Gist options
  • Save rodrwan/e4d28053821e764ba28ffe5d3e6b355a to your computer and use it in GitHub Desktop.
Save rodrwan/e4d28053821e764ba28ffe5d3e6b355a to your computer and use it in GitHub Desktop.
Benchmark para funciones de concatenación

goos: darwin
goarch: amd64

Function-CPU threads # b.N used ns per loop memory allocated per loop # memory allocations per loop
BenchmarkConcatWithStrings-8 657294 1808 ns/op 400 B/op 15 allocs/op 
BenchmarkConcatWithBuffer-8 824786 1432 ns/op 320 B/op 12 allocs/op
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment