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

Performence tests #28

Open
wmww opened this issue Aug 26, 2020 · 1 comment
Open

Performence tests #28

wmww opened this issue Aug 26, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@wmww
Copy link
Owner

wmww commented Aug 26, 2020

Would be nice to be able to measure performance, especially of the GDB backend

@wmww wmww added the enhancement New feature or request label Aug 26, 2020
@wmww
Copy link
Owner Author

wmww commented Feb 25, 2021

Ideally we'd have a fancy automated solution, but until then we can use this:

# Run QTerminal as a Wayland app inside GDB. Quite immediately and measure how long it takes.
QT_QPA_PLATFORM=wayland time wldbg -g --ex r --ex q --args qterminal -e 'sleep 0.1 && exit'

Time's output doesn't have newlines for some reason but it's readable. On my XPS (bunch of Qt debug symbols are installed, might have an impact) it reports 33.56 in user time, compared to just 5.57 when run in non-wayland debug GDB. #37 probably related.

@wmww wmww mentioned this issue Feb 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant