Skip to content

vlad-tokarev/1brc-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

Solution in Go for 1BRC challenge

Optimisations:

  • Custom float64 parser (to avoid string allocations)
  • Use fixed size [N]byte array for map keys (to avoid string allocations)
  • Parallelization: map-reduce approach

Performance

Machine:

  • Chip: Apple M1 Max
  • Total Number of Cores: 10 (8 performance and 2 efficiency)
  • Memory: 32 GB

Results:

  • 1 Goroutine: took 1m18.318s
  • 10 Goroutines: took 13.077s

About

Portable (without ASM and unsafe) solution for 1brc challenge in Golang. https://github.com/gunnarmorling/1brc

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published