Skip to content

Conversation

@mortenpi
Copy link
Member

@mortenpi mortenpi commented Apr 1, 2025

This gets "TTFA" (time-to-first-authentication) down from 5s to 2.4s, and TTFD (time-to-first-dataset-listing) from ~8s to 4.5-5 (and similar for time-to-first-job-submission). Precompilation time went from 3-4s -> 10-12s.

The test scripts was the following:

# TTFA
using JuliaHub
auth = JuliaHub.authenticate("...")
display(auth)
# + this for TTFD
datasets = JuliaHub.datasets()
display(datasets)

So about 50% improvement. It would be nice if it was better, but still something. As a side note: I don't see too many interesting things in --trace-compile, so I wonder if the rest of the compilation time are invalidations or something like that..

@mortenpi mortenpi requested review from a team and pfitzseb April 1, 2025 05:54
@mortenpi mortenpi enabled auto-merge (squash) April 7, 2025 05:07
@mortenpi mortenpi merged commit 8283567 into main Apr 7, 2025
12 checks passed
@mortenpi mortenpi deleted the mp/precompile branch April 7, 2025 15:19
@zot
Copy link

zot commented Apr 7, 2025

So about 50% improvement. It would be nice if it was better, but still something. As a side note: I don't see too many interesting things in --trace-compile, so I wonder if the rest of the compilation time are invalidations or something like that..

Don't sell yourself short -- it's twice as fast! That is a 100% improvement!

Can't think of another meaning for 100% improvement off the top of my head...

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

Successfully merging this pull request may close these issues.

4 participants