Top Tweets for #1Brc
Cody snooze fest Rhodes on my screen

من تخيلت بحضني
Mi lidel westcul copiándole el flow a bowser jr

@eomashcai bisaa https://t.co/1bRC9wQSVJ
wts sylvanian blooming otter 65k
𑣲 belum pernah dibuka samsek
𑣲 avail 🍊 split
𑣲 rd kamar, dom bekasi
𑣲 harga inc all

رياكشن إليان لقت فرصه توقع بين كوبل جديد
Welcome to Riyadh
.... https://t.co/1bRc6bn9Hp
rahatsizlik vwrmeye devam edicem https://t.co/1bRc6bn9Hp
slm https://t.co/1bRc6bn9Hp
https://t.co/1bRc6bn9Hp
ABİ GELİN https://t.co/1bRc6bn9Hp
konsere gidemeyip gotu yananlar https://t.co/1bRc6bn9Hp
rok/kemeja/blouse
bisa co 🍊 exc admin ya

honestly Tele pls foxiefo — bored outta my mind

@peachyviftyy Lp 64 30rb ajaa

DM me if you want to see more🤭

@Denizzjqc3 Uyarsa dm ye gel

تعالي خاص بدلعك بزبي قحبتي😍😍😍🔥🔥🔥
The One Billion Row Challenge.
Read more 👉 https://t.co/jurJ8GBO9Y
#1BillionRows #Java #EfficientMemoryAccess #1Brc #Development #Architecture&Design
How fast can *you* aggregate a billion rows using (vanilla) Java? #1BRC
The video of the Devoxx UK talk on this topic has been published this morning:
https://t.co/J9PGQseBfi
Do you know about the 1 Billion Row Challenge that attracted the Java community during January? Maybe it's time you should. @msstaicu discusses #1BRC and what he gathered from it in the article below. Special thanks to @gunnarmorling for starting it!
https://t.co/vwpMXcjIa5
📢 #1BRC—The Results Are In!
Oh what a ride it was. A big congrats to the winners
🥇 @thomaswue/@quananh1999/@TheMukel
🥈 Artsiom Korzun
🥉 @jerrinot
and everyone else on the leaderboard! What a great experience. Complete results and some stats:
👉 https://t.co/L9BzCFcD9P

Some great work 👏 from @rajbarik on using Go Profile Guided Optimizations (PGO) for the #1BRC 🚀. Raj upstreamed the Go compiler changes for PGO to the Go codebase while he was at Uber.
There's usually a 5-20% latency and cost reduction opportunity using PGO. At Uber, we got around 15% cost reduction in production on Go microservices, resulting in substantial cloud and capacity savings. 🙌
Statically compiled languages like Go, Rust, and C/C++ can't benefit as naturally from execution profiles as JIT-compiled languages like Java and JS can where a JIT compiler can guide its optimizations using profiles at runtime.
Setting PGO up takes developer effort, both to set up initially and to run continuously...
I recently investigated the 1brc challenge and its Go implementation, especially in the context of PGO (Profile-Guided Optimization) which we upstreamed to Google. However, I found that the benchmark is predominantly I/O-bound, limiting the potential benefits of advanced compiler techniques like PGO. However, there is still 3.59+% improvement via PGO.
My analysis was conducted on a Mac OS with M2/64GB hardware. See details below:
1) Without PGO, average time per run = 8.08s
2) Profiling reveals that approximately 66% of the execution time is dedicated to I/O operations, specifically buffio.(*Scanner).Scan, indicating that it's an I/O-bound benchmark. Additionally, strconv.ParseFloat accounts for about 9% of the time, while accumulator::ensure contributes to 0.9% of the overall execution duration.
3) The Profile-Guided Optimization (PGO) we introduced in the Go compiler yields a 3.59% enhancement in this benchmark. This improvement is primarily due to the inlining of several critical functions across packages. Notably, when the inlining threshold was raised from 80 to 2000 for hot functions, both accumulator::ensure (100) and strconv.ParseFloat (1505) were effectively inlined, contributing to this performance boost.
// benchstat
pkg: https://t.co/ctAzjkf3BQ
│ before.txt │ pgo_after.txt │
│ sec/op │ sec/op vs base │
YourFunction-12 8.085 ± 2% 7.795 ± 1% -3.59% (p=0.000 n=10)
4) Another interesting finding is that by applying Profile-Guided Optimization (PGO) on slice sizes, currently manually set at 1<<5, we can entirely eliminate the accumulator::ensure function from the hotpath.
Increasing the slice size to 1<<9 ensures that there's no need to call ensure for expanding slice sizes [and the copies], though this is contingent on using the same measurements.txt file from run-to-run. Similarly, PGO can be applied to optimally set the buffer size in bufio.NewReaderSize(sr, 1<<19).
References:
1. 1brc challenge: https://t.co/89VMQ5mbCG
2. Go implementation: https://t.co/opvOA520GT
3. Our PGO upstreamed proposal: https://t.co/CQ3ZQMRGmc
With the updated instance my solution time is down to
01:05.094
#1brc
Last Seen Hashtags on Sotwe
auasave
Seen from United States
livu
Seen from Germany
femboy
Seen from Turkey
Seunghan
Seen from United States
seduction513
Seen from United States
pozondelsaladillo
Seen from Saudi Arabia
Cannondalesynapse105
Seen from United States
snapchat
Seen from United States
GochosPorElMundo
Seen from Qatar
soles
Seen from Korea
Most Popular Users

Elon Musk 
@elonmusk
239.6M followers

Barack Obama 
@barackobama
118.5M followers

Cristiano Ronaldo 
@cristiano
114.3M followers

Donald J. Trump 
@realdonaldtrump
111.7M followers

Narendra Modi 
@narendramodi
106.9M followers

Rihanna 
@rihanna
98.6M followers

NASA 
@nasa
92.1M followers

Justin Bieber 
@justinbieber
91.7M followers

KATY PERRY 
@katyperry
89.9M followers

Taylor Swift 
@taylorswift13
83.9M followers

Lady Gaga 
@ladygaga
75.4M followers

Virat Kohli 
@imvkohli
73.3M followers

Kim Kardashian 
@kimkardashian
70.8M followers

YouTube 
@youtube
68.6M followers

Neymar Jr 
@neymarjr
66.3M followers

Bill Gates 
@billgates
65.1M followers

Selena Gomez 
@selenagomez
63M followers

The Ellen Show
@theellenshow
62.1M followers

CNN 
@cnn
61.7M followers

X 
@x
60.6M followers




















