withastro / astro

The web framework for content-driven websites. ⭐️ Star to support our work!
https://astro.build
Other
46.93k stars 2.49k forks source link

chore: breakdown of benchmarks #12433

Closed ematipico closed 1 week ago

ematipico commented 1 week ago

Changes

This PR adds 6 benchmarks to CodSpeed. It moves the building of the project to before running the benchmarks, it creates two apps, one with streaming enabled and one where it's not enabled.

The pet project that we create has three routes: /astro, /md and /mdx, so we already know in advance what we want to test.

Testing

This CI should work and we should see the results already.

CodSpeed will go crazy because we will remove the benchmark we already have, so we must acknowledge the deletion.

Docs

N/A

changeset-bot[bot] commented 1 week ago

⚠️ No Changeset found

Latest commit: fa9235611a65bfaaa9c4c36a9f4cc63f0d0126f0

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

codspeed-hq[bot] commented 1 week ago

CodSpeed Performance Report

Merging #12433 will create unknown performance changes

Comparing chore/better-benchmarks (fa92356) with main (9fc2ab8)

Summary

🆕 6 new benchmarks ⁉️ 1 (👁 1) dropped benchmarks

Benchmarks breakdown

Benchmark main chore/better-benchmarks Change
👁 Rendering 4.7 s N/A N/A
🆕 Rendering: streaming [false], .astro file N/A 1.7 s N/A
🆕 Rendering: streaming [false], .md file N/A 21.2 ms N/A
🆕 Rendering: streaming [false], .mdx file N/A 1.2 s N/A
🆕 Rendering: streaming [true], .astro file N/A 1.8 s N/A
🆕 Rendering: streaming [true], .md file N/A 16.4 ms N/A
🆕 Rendering: streaming [true], .mdx file N/A 1.2 s N/A