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

async is no longer the default #287

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

PallHaraldsson
Copy link

Was changed in #208

@PallHaraldsson
Copy link
Author

PallHaraldsson commented Nov 28, 2021

I see async is up to 13 times faster, i.e. down to 0.017 sec for me. I don't really care too much about the speed 0.2 sec. with sync is on by default after first use, just fixing the doc.

More importantly for first use what's possible (default options 24 sec combined, or 11x slower, or with async "only" 15 sec. for 7x slower):

$ ~/julia-1.7.0-rc3/bin/julia -O0 --compile=min

julia> @time using Blink
  0.916359 seconds (1.46 M allocations: 97.061 MiB, 2.58% gc time)

julia> @time (w = Window(async=true); body!(w, "Hello World"))
  1.113005 seconds (1.92 M allocations: 105.378 MiB, 6.26% gc time)

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.

None yet

1 participant