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

feat(bench): add CSS analyzer to the benchmarks #2762

Merged
merged 1 commit into from
May 8, 2024

Conversation

ematipico
Copy link
Member

Summary

This PR adds the CSS analyzer to the list of our benchmarks.

It uses the same CSS files we use for formatting and parsing.

Test Plan

CI should pass

@github-actions github-actions bot added the A-Tooling Area: internal tools label May 8, 2024
Copy link
Contributor

github-actions bot commented May 8, 2024

Parser conformance results on

js/262

Test result main count This PR count Difference
Total 49701 49701 0
Passed 48721 48721 0
Failed 980 980 0
Panics 0 0 0
Coverage 98.03% 98.03% 0.00%

jsx/babel

Test result main count This PR count Difference
Total 40 40 0
Passed 37 37 0
Failed 3 3 0
Panics 0 0 0
Coverage 92.50% 92.50% 0.00%

symbols/microsoft

Test result main count This PR count Difference
Total 6322 6322 0
Passed 2036 2036 0
Failed 4286 4286 0
Panics 0 0 0
Coverage 32.20% 32.20% 0.00%

ts/babel

Test result main count This PR count Difference
Total 662 662 0
Passed 593 593 0
Failed 69 69 0
Panics 0 0 0
Coverage 89.58% 89.58% 0.00%

ts/microsoft

Test result main count This PR count Difference
Total 17646 17646 0
Passed 13439 13439 0
Failed 4205 4205 0
Panics 2 2 0
Coverage 76.16% 76.16% 0.00%

Copy link

codspeed-hq bot commented May 8, 2024

CodSpeed Performance Report

Merging #2762 will not alter performance

Comparing feat/bench-css-analyzer (af3c2ad) with main (ed7509c)

Summary

✅ 78 untouched benchmarks

🆕 7 new benchmarks
⁉️ 7 (👁 7) dropped benchmarks

Benchmarks breakdown

Benchmark main feat/bench-css-analyzer Change
👁 analyzer[css.js] 82.9 ms N/A N/A
👁 analyzer[index.js] 181 ms N/A N/A
👁 analyzer[lint.ts] 152.9 ms N/A N/A
👁 analyzer[parser.ts] 289.1 ms N/A N/A
👁 analyzer[router.ts] 81.3 ms N/A N/A
👁 analyzer[statement.ts] 259.6 ms N/A N/A
👁 analyzer[typescript.ts] 415.9 ms N/A N/A
🆕 js_analyzer[css.js] N/A 83 ms N/A
🆕 js_analyzer[index.js] N/A 180.5 ms N/A
🆕 js_analyzer[lint.ts] N/A 153 ms N/A
🆕 js_analyzer[parser.ts] N/A 289.4 ms N/A
🆕 js_analyzer[router.ts] N/A 81.2 ms N/A
🆕 js_analyzer[statement.ts] N/A 259.8 ms N/A
🆕 js_analyzer[typescript.ts] N/A 416.2 ms N/A

@ematipico ematipico merged commit f943fad into main May 8, 2024
16 checks passed
@ematipico ematipico deleted the feat/bench-css-analyzer branch May 8, 2024 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Tooling Area: internal tools
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants