refactor(span): implement Serialize manually for Atom#9196
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
CodSpeed Performance ReportMerging #9196 will not alter performanceComparing Summary
|
bace421 to
58fabd2
Compare
af2a0be to
2ecd03d
Compare
What the hell? Something is clearly wrong! |
I force pushed (without changing any code) and it's gone back to normal now. I guess must have been a temporary blip. I guess the fixture file for that benchmark was not downloaded, so it ran on an empty file - which obviously is very much faster. |
58fabd2 to
3236fe4
Compare
2ecd03d to
0cd2e29
Compare
0cd2e29 to
74e519b
Compare
74e519b to
b1877f4
Compare
Merge activity
|
The `Serialize` impl for `Atom` is trivial, so there's no need to use `#[derive(Serialize)]` on it - just implement it by hand. This is another step towards removing `serde-derive` from `oxc_span` and `oxc_ast`, which when complete will greatly improve compile times. Also shorten the code for `impl Serialize for CompactStr`. That change is pure style refactor.
b1877f4 to
be27164
Compare

The
Serializeimpl forAtomis trivial, so there's no need to use#[derive(Serialize)]on it - just implement it by hand.This is another step towards removing
serde-derivefromoxc_spanandoxc_ast, which when complete will greatly improve compile times.Also shorten the code for
impl Serialize for CompactStr. That change is pure style refactor.