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

Add a Compiler option to profile the compilation time #1614

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Switch from destructor based time report to defer based time report t…

64022db
Select commit
Loading
Failed to load commit list.
Open

Add a Compiler option to profile the compilation time #1614

Switch from destructor based time report to defer based time report t…
64022db
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Nov 16, 2024 in 0s

61.66% of diff hit (target 88.28%)

View this Pull Request on Codecov

61.66% of diff hit (target 88.28%)

Annotations

Check warning on line 439 in Sources/Driver/Driver.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/Driver/Driver.swift#L435-L439

Added lines #L435 - L439 were not covered by tests

Check warning on line 492 in Sources/Driver/Driver.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/Driver/Driver.swift#L489-L492

Added lines #L489 - L492 were not covered by tests

Check warning on line 66 in Sources/FrontEnd/Parse/Parser.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/FrontEnd/Parse/Parser.swift#L66

Added line #L66 was not covered by tests

Check warning on line 6590 in Sources/FrontEnd/TypeChecking/TypeChecker.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/FrontEnd/TypeChecking/TypeChecker.swift#L6590

Added line #L6590 was not covered by tests

Check warning on line 86 in Sources/FrontEnd/TypedProgram.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/FrontEnd/TypedProgram.swift#L85-L86

Added lines #L85 - L86 were not covered by tests

Check warning on line 41 in Sources/GenerateHyloFileTests/GenerateHyloFileTests.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/GenerateHyloFileTests/GenerateHyloFileTests.swift#L37-L41

Added lines #L37 - L41 were not covered by tests

Check warning on line 43 in Sources/GenerateHyloFileTests/GenerateHyloFileTests.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/GenerateHyloFileTests/GenerateHyloFileTests.swift#L43

Added line #L43 was not covered by tests

Check warning on line 1012 in Sources/IR/Analysis/Module+NormalizeObjectStates.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/IR/Analysis/Module+NormalizeObjectStates.swift#L1012

Added line #L1012 was not covered by tests

Check warning on line 143 in Sources/IR/Module.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/IR/Module.swift#L143

Added line #L143 was not covered by tests

Check warning on line 33 in Sources/IR/Operands/Instruction/Switch.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/IR/Operands/Instruction/Switch.swift#L33

Added line #L33 was not covered by tests

Check warning on line 49 in Sources/IR/Operands/Instruction/UnionSwitch.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/IR/Operands/Instruction/UnionSwitch.swift#L46-L49

Added lines #L46 - L49 were not covered by tests

Check warning on line 155 in Sources/TestUtils/TestAnnotation.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/TestUtils/TestAnnotation.swift#L155

Added line #L155 was not covered by tests

Check warning on line 16 in Sources/Utils/Profiling.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/Utils/Profiling.swift#L14-L16

Added lines #L14 - L16 were not covered by tests

Check warning on line 31 in Sources/Utils/Profiling.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/Utils/Profiling.swift#L27-L31

Added lines #L27 - L31 were not covered by tests

Check warning on line 36 in Sources/Utils/Profiling.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/Utils/Profiling.swift#L33-L36

Added lines #L33 - L36 were not covered by tests

Check warning on line 43 in Sources/Utils/Profiling.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/Utils/Profiling.swift#L43

Added line #L43 was not covered by tests

Check warning on line 46 in Sources/Utils/Profiling.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/Utils/Profiling.swift#L45-L46

Added lines #L45 - L46 were not covered by tests

Check warning on line 52 in Sources/Utils/Profiling.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/Utils/Profiling.swift#L50-L52

Added lines #L50 - L52 were not covered by tests

Check warning on line 57 in Sources/Utils/Profiling.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/Utils/Profiling.swift#L55-L57

Added lines #L55 - L57 were not covered by tests

Check warning on line 78 in Sources/Utils/Profiling.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/Utils/Profiling.swift#L60-L78

Added lines #L60 - L78 were not covered by tests

Check warning on line 88 in Sources/Utils/Profiling.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/Utils/Profiling.swift#L80-L88

Added lines #L80 - L88 were not covered by tests

Check warning on line 104 in Sources/Utils/Profiling.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/Utils/Profiling.swift#L90-L104

Added lines #L90 - L104 were not covered by tests

Check warning on line 78 in Sources/Utils/String+Extensions.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/Utils/String+Extensions.swift#L78

Added line #L78 was not covered by tests