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

Time trace: large sections of std.stdio isn't showing up as what it is doing #4557

Open
rikkimax opened this issue Jan 8, 2024 · 0 comments

Comments

@rikkimax
Copy link
Contributor

rikkimax commented Jan 8, 2024

ldc 1.35.0, Windows.

I'm doing a quick look into seeing why std.stdio can appear to be costly to use for writeln.

What I'm interested in is what is happening in sema1 that isn't showing up on the time trace.

Test code:

void main() {
        import std.stdio;
        writeln("Hello!");
}

Capture

A quick estimate would suggest around 80ms out of 180ms is unaccounted for in the graph.

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