Skip to content

feat(linter): remove the --timings feature#2049

Merged
Boshen merged 1 commit into
mainfrom
01-16-feat_linter_remove_the_--timings_feature
Jan 16, 2024
Merged

feat(linter): remove the --timings feature#2049
Boshen merged 1 commit into
mainfrom
01-16-feat_linter_remove_the_--timings_feature

Conversation

@Boshen

@Boshen Boshen commented Jan 16, 2024

Copy link
Copy Markdown
Member

For a various reasons:

This features bloats the code size.

We have many tools for profiling in Rust (as compared to ESLint where the feature came from),
so a built-in feature is not really needed anymore.

ESLint needed --timings because it needs to monitor plugins.
We control all our code so we don't need this.

For a various reasons:

This features bloats the code size.

We have many tools for profiling in Rust (as compared to ESLint where the feature came from),
so a built-in feature is not really needed anymore.

ESLint needed `--timings` because it needs to monitor plugins.
We control all our code so we don't need this.
@github-actions github-actions Bot added A-linter Area - Linter A-cli Area - CLI labels Jan 16, 2024

Boshen commented Jan 16, 2024

Copy link
Copy Markdown
Member Author

Current dependencies on/for this PR:

This stack of pull requests is managed by Graphite.

@Boshen Boshen merged commit 9e06bd7 into main Jan 16, 2024

Boshen commented Jan 16, 2024

Copy link
Copy Markdown
Member Author

Merge activity

@Boshen Boshen deleted the 01-16-feat_linter_remove_the_--timings_feature branch January 16, 2024 06:21
@codspeed-hq

codspeed-hq Bot commented Jan 16, 2024

Copy link
Copy Markdown

CodSpeed Performance Report

Merging #2049 will improve performances by 40.53%

Comparing 01-16-feat_linter_remove_the_--timings_feature (35a1c35) with main (f413297)

Summary

⚡ 3 improvements
✅ 11 untouched benchmarks

Benchmarks breakdown

Benchmark main 01-16-feat_linter_remove_the_--timings_feature Change
linter[checker.ts] 5.4 s 3.9 s +38.71%
linter[pdf.mjs] 1.9 s 1.3 s +40.53%
linter[antd.js] 10.5 s 7.6 s +38.36%

IWANABETHATGUY pushed a commit to IWANABETHATGUY/oxc that referenced this pull request May 29, 2024
For a various reasons:

This features bloats the code size.

We have many tools for profiling in Rust (as compared to ESLint where the feature came from),
so a built-in feature is not really needed anymore.

ESLint needed `--timings` because it needs to monitor plugins.
We control all our code so we don't need this.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-cli Area - CLI A-linter Area - Linter

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant