Skip to content

piman51277/1brc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

1brc - 1 Billion Row Challenge

Challenge website

Data generated from this repo

Results:

Time (local): ~3.0 seconds

Env

  • COMPILER: g++ 12.2.0 (debian) flags -O3 -march=native --std=c++23
  • CPU: AMD Ryzen 9 3900x
  • RAM: 32GB DDR4
  • OS: Debian 12 (Bookworm)
  • Kernel: 6.1.0-21-amd64

Running

Run ./cr.sh to Compile and Run.

Expects measurements.txt to be present in project root. (Recommended to place file on your fastest drive and symlink it here)

Profiling

Requires hotpost (sudo apt install hotspot).

Run ./prof.sh to compile, profile, and launch hotspot.

Notes

  • Will only work on Linux and some other POSIX systems use due to the use of POSIX API calls.
  • src/ contains the code as it was written. mono.cpp is an alternative version that was packed into a single file.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published