Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ming900518/1brc_rust
https://github.com/ming900518/1brc_rust
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/ming900518/1brc_rust
- Owner: ming900518
- Created: 2024-03-02T06:03:17.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-04-03T07:47:21.000Z (10 months ago)
- Last Synced: 2024-04-04T07:37:11.641Z (10 months ago)
- Language: Rust
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 |