Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ui_test got slower #135

Closed
oli-obk opened this issue Aug 9, 2023 · 0 comments
Closed

ui_test got slower #135

oli-obk opened this issue Aug 9, 2023 · 0 comments

Comments

@oli-obk
Copy link
Owner

oli-obk commented Aug 9, 2023

          Nice, runs fine now

I've noticed it's quite a bit slower, measuring it with:

hyperfine -L commit 7c595b4599d546dc5f36bc4bebbbf8ad454fed62,ui_test \
    --prepare 'git checkout {commit}' \
    --warmup 2 \
    -n '{commit}' \
    'cargo uitest'

x86_64-pc-windows-msvc, 6 cores/12 threads

Benchmark 1: 7c595b4599d546dc5f36bc4bebbbf8ad454fed62
  Time (mean ± σ):     18.325 s ±  0.296 s    [User: 113.464 s, System: 59.451 s]
  Range (min … max):   17.899 s … 18.837 s    10 runs

Benchmark 2: ui_test
  Time (mean ± σ):     24.262 s ±  0.041 s    [User: 61.322 s, System: 39.990 s]
  Range (min … max):   24.208 s … 24.332 s    10 runs

Summary
  '7c595b4599d546dc5f36bc4bebbbf8ad454fed62' ran
    1.32 ± 0.02 times faster than 'ui_test'

aarch64-unknown-linux-gnu, 4 cores/4 threads

Benchmark 1: 7c595b4599d546dc5f36bc4bebbbf8ad454fed62
  Time (mean ± σ):     55.910 s ±  0.233 s    [User: 146.823 s, System: 58.316 s]
  Range (min … max):   55.658 s … 56.372 s    10 runs
 
Benchmark 2: ui_test
  Time (mean ± σ):     85.066 s ±  0.091 s    [User: 97.486 s, System: 48.101 s]
  Range (min … max):   84.942 s … 85.243 s    10 runs
 
Summary
  '7c595b4599d546dc5f36bc4bebbbf8ad454fed62' ran
    1.52 ± 0.01 times faster than 'ui_test'

Originally posted by @Alexendoo in rust-lang/rust-clippy#11239 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant