Skip to content
This repository was archived by the owner on Mar 28, 2026. It is now read-only.

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

1 Billion Row Challenge in Mojo

Machine used as reference

Intel i7 7700HQ , 4 cores 8 threads @ 2.8 GHz

Mojo version mojo 24.2.1 takes 16.3s without yet having a hash map and min max calculations implemented. The parallelize function doesn't use every thread available for some reason. Mojo nightly mojo 2024.4.2414 takes 7.5s but also doesn't use every thread. Performance gain was because file.read_bytes was refactored to not copy data

Go takes about 6.5s on average, in this one and this other one

The Java version from Artsiom Korzun takes 3.8s

About

1 Billion Row Challenge implemented in Mojo

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages