Skip to content

Potential regression of slower speed v0.22.1->v0.23.0 #9812

Open
@makeecat

Description

@makeecat

Description

The overall logging speed seems to be slower, not sure if it is related to the spawn process of grpc.

Reproduction

## Install dependencies
cargo install hyperfine
cargo install [email protected]
mv ~/.cargo/bin/rerun ~/.cargo/bin/[email protected]
cargo install [email protected]
mv ~/.cargo/bin/rerun ~/.cargo/bin/[email protected]

## build testbed
git clone [email protected]:makeecat/peng.git peng
git clone [email protected]:makeecat/peng.git peng-prev
## set peng-prev before bumping rerun from 0.22.1 to 0.23.0
cd peng-prev
git checkout 74b8727bac5c49b67677c08c3f47bb7b1676e802
cargo build --release
cd ../peng
cargo build --release
cd ..

## launch rerun 0.22.1
[email protected]
## launch peng-prev
hyperfine --warmup 10 -r 30 ./peng-prev/target/release/peng_quad

## launch rerun 0.23.0
[email protected]
## launch peng
hyperfine --warmup 10 -r 30 ./peng/target/release/peng_quad

Result

This is the commit that bumped the rerun version: makeecat/Peng@8cb4077

Since that commit changed other dependencies' versions, I also rolled back the other dependencies. The results are similar, I call this version peng-next.

on MacOS Apple M1, Sequoia 15.4.1:

peng-prev: 987.1ms +- 69.0ms
peng: 1.143ms +- 52.0ms
peng-next: 1.145ms +- 58.0ms

on ROG STRIX15 x64, Ubuntu 22.04:

peng-prev: 812.6ms +- 27.2ms
peng: 842.8ms +- 17.7ms
peng-next: 847.0ms +- 29.2ms

Metadata

Metadata

Assignees

Labels

📉 performanceOptimization, memory use, etc🦟 regressionA thing that used to work in an earlier release

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions