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

exclude turborepo from turbopack bench tests #4623

Merged
merged 1 commit into from
Apr 18, 2023

Conversation

sokra
Copy link
Member

@sokra sokra commented Apr 18, 2023

Description

avoid running benchmark tests for turborepo when testing turbopack

@vercel
Copy link

vercel bot commented Apr 18, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
turbo-site ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 18, 2023 0:35am
10 Ignored Deployments
Name Status Preview Comments Updated (UTC)
examples-basic-web ⬜️ Ignored (Inspect) Apr 18, 2023 0:35am
examples-cra-web ⬜️ Ignored (Inspect) Apr 18, 2023 0:35am
examples-designsystem-docs ⬜️ Ignored (Inspect) Apr 18, 2023 0:35am
examples-gatsby-web ⬜️ Ignored (Inspect) Apr 18, 2023 0:35am
examples-kitchensink-blog ⬜️ Ignored (Inspect) Apr 18, 2023 0:35am
examples-native-web ⬜️ Ignored (Inspect) Apr 18, 2023 0:35am
examples-nonmonorepo ⬜️ Ignored (Inspect) Apr 18, 2023 0:35am
examples-svelte-web ⬜️ Ignored (Inspect) Apr 18, 2023 0:35am
examples-tailwind-web ⬜️ Ignored (Inspect) Apr 18, 2023 0:35am
examples-vite-web ⬜️ Ignored (Inspect) Apr 18, 2023 0:35am

@github-actions
Copy link
Contributor

✅ This changes can build next-swc

@sokra sokra marked this pull request as ready for review April 18, 2023 12:47
@sokra sokra requested review from a team as code owners April 18, 2023 12:47
@sokra sokra enabled auto-merge (squash) April 18, 2023 12:47
@github-actions
Copy link
Contributor

Benchmark for 9284de5

Click to view benchmark
Test Base PR % Significant %
bench_hmr_to_commit/Turbopack CSR/1000 modules 8825.65µs ± 60.62µs 8914.71µs ± 64.01µs +1.01%
bench_hmr_to_eval/Turbopack CSR/1000 modules 7902.00µs ± 22.31µs 7890.86µs ± 106.12µs -0.14%
bench_startup/Turbopack CSR/1000 modules 859.82ms ± 3.07ms 860.29ms ± 2.29ms +0.05%

@github-actions
Copy link
Contributor

⚠️ CI failed ⚠️

The following steps have failed in CI:

  • Go unit tests
  • Go examples
  • Turbopack Rust benchmark tests (linux)

See workflow summary for details

@sokra sokra disabled auto-merge April 18, 2023 13:56
@sokra sokra merged commit 185edc9 into main Apr 18, 2023
@sokra sokra deleted the sokra/select-packages-for-bench-test branch April 18, 2023 13:56
sokra added a commit to vercel/next.js that referenced this pull request Apr 20, 2023
### What?

add support for blur placeholder generation to turbopack

add `StructuredImageModuleType` which is used with `ModuleType::Custom`
to allow importing an image as `{ url, width, height, blurDataURL,
blurWidth, blurHeight }`

in contrast to next.js with webpack this will also generate blur
placeholder in development instead of using a _next/image reference.
This should lead to more production-like experience (at the cost of a
little bit of compilation time).

turbo PR: vercel/turborepo#4621

### Why?

Turbopack was crashing on `placeholder="blur"` before.

fixes WEB-534

### Turbopack changes

* vercel/turborepo#4521 <!-- OJ Kwon -
feat(contextcondition): support InPath contextcondition -->
* vercel/turborepo#4601 <!-- Alex Kirszenberg -
Chunking Context Refactor pt. 3: Address PR comments from pt. 2 -->
* vercel/turborepo#4623 <!-- Tobias Koppers -
exclude turborepo from turbopack bench tests -->
* vercel/turborepo#4399 <!-- Leah - support
require.context -->
* vercel/turborepo#4610 <!-- OJ Kwon - test(subset):
add mdx test into subset -->
* vercel/turborepo#4624 <!-- Tobias Koppers - run
benchmarks on windows and macOS too -->
* vercel/turborepo#4620 <!-- Alex Kirszenberg - Make
ContainmentTree fully generic -->
* vercel/turborepo#4600 <!-- Tobias Koppers - add
getChunkPath method -->
* vercel/turborepo#4621 <!-- Tobias Koppers - add
turbopack-image -->
* vercel/turborepo#4639 <!-- Tobias Koppers -
restrict snapshot path for windows path length limit -->
* vercel/turborepo#4641 <!-- Tobias Koppers - put
webp behind a feature flag -->
NicholasLYang pushed a commit to NicholasLYang/turbo that referenced this pull request Apr 21, 2023
### Description

avoid running benchmark tests for turborepo when testing turbopack
chris-olszewski added a commit that referenced this pull request Sep 1, 2023
### Description

Matches the changes to the ubuntu turbopack bench job made in
#4623

### Testing Instructions

Confirm changed commands match the changes in #4623


Closes TURBO-1292

Co-authored-by: Chris Olszewski <Chris Olszewski>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants