Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ming900518/1brc_rust


https://github.com/ming900518/1brc_rust

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# 1οΈβƒ£πŸπŸŽοΈ The One Billion Row Challenge - Rust Version

## 測試平臺

```
'c.
,xNMM. -----------------------------
.OMMMMo OS: macOS 14.3.1 23D60 arm64
OMMM0, Host: MacBookAir10,1
.;loddo:' loolloddol;. Kernel: 23.3.0
cKMMMMMMMMMMNWMMMMMMMMMM0: Uptime:
.KMMMMMMMMMMMMMMMMMMMMMMMWd. Packages:
XMMMMMMMMMMMMMMMMMMMMMMMX. Shell: zsh 5.9
;MMMMMMMMMMMMMMMMMMMMMMMM: Resolution: 1440x900
:MMMMMMMMMMMMMMMMMMMMMMMM: DE: Aqua
.MMMMMMMMMMMMMMMMMMMMMMMMX. WM: Rectangle
kMMMMMMMMMMMMMMMMMMMMMMMMWd. Terminal: iTerm2
.XMMMMMMMMMMMMMMMMMMMMMMMMMMk Terminal Font:
.XMMMMMMMMMMMMMMMMMMMMMMMMK. CPU: Apple M1
kMMMMMMMMMMMMMMMMMMMMMMd GPU: Apple M1
;KMMMMMMMWXXWMMMMMMMk. Memory: MiB / 16384MiB
.cooc,. .,coo:.
```

## ι‹θ‘Œζ™‚ι–“

| ε°ˆζ‘ˆεη¨±οΌˆθ³‡ζ–™ε€ΎεοΌ‰ | εŸ·θ‘Œζ™‚ι–“ |
| --- | --- |
| [Java Baseline](https://github.com/gunnarmorling/1brc/blob/main/src/main/java/dev/morling/onebrc/CalculateAverage_baseline.java) | 193.202 s Β± 0.784 s |
| Version 1 | 154.163 s |
| Version 1 (with build config) | 145.337 s |
| Version 2 | 168.784 s |
| Version 2 (with Mimalloc) | 104.076 s |
| Version 3 | 75.505 s |
| Version 4 | 45.211 s |
| Version 4 (`from_utf8_unchecked`) | 41.367 s |
| Version 4 (`MmapOptions::populate`) | 41.063 s |
| Version 5 | 32.028 s |