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

create turbo-static for compile time graph analysis #8037

Open
wants to merge 1 commit into
base: 03-08-add_ability_to_filter_by_value_and_occurences
Choose a base branch
from

Conversation

arlyon
Copy link
Contributor

@arlyon arlyon commented Apr 24, 2024

Description

Testing Instructions

Closes TURBO-2877

Copy link

vercel bot commented Apr 24, 2024

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

Name Status Preview Comments Updated (UTC)
examples-nonmonorepo ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 22, 2024 7:39am
rust-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 22, 2024 7:39am
8 Ignored Deployments
Name Status Preview Comments Updated (UTC)
examples-basic-web ⬜️ Ignored (Inspect) Visit Preview May 22, 2024 7:39am
examples-designsystem-docs ⬜️ Ignored (Inspect) Visit Preview May 22, 2024 7:39am
examples-gatsby-web ⬜️ Ignored (Inspect) Visit Preview May 22, 2024 7:39am
examples-kitchensink-blog ⬜️ Ignored (Inspect) Visit Preview May 22, 2024 7:39am
examples-native-web ⬜️ Ignored (Inspect) Visit Preview May 22, 2024 7:39am
examples-svelte-web ⬜️ Ignored (Inspect) Visit Preview May 22, 2024 7:39am
examples-tailwind-web ⬜️ Ignored (Inspect) Visit Preview May 22, 2024 7:39am
examples-vite-web ⬜️ Ignored (Inspect) Visit Preview May 22, 2024 7:39am

Copy link
Contributor Author

arlyon commented Apr 24, 2024

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @arlyon and the rest of your teammates on Graphite Graphite

Copy link
Contributor

github-actions bot commented Apr 24, 2024

🟢 Turbopack Benchmark CI successful 🟢

Thanks

Copy link
Contributor

github-actions bot commented Apr 24, 2024

⚠️ CI failed ⚠️

The following steps have failed in CI:

  • Rust lints
  • Turbopack Rust clippy
  • Turbopack Rust tests (linux)
  • Turbopack Rust tests (mac/win, non-blocking)

See workflow summary for details

Copy link
Contributor

github-actions bot commented Apr 24, 2024

✅ This change can build next-swc

@arlyon arlyon force-pushed the 03-08-feat_add_mechanism_to_bypass_turbo_engine_for_annotated_methods branch from 9f50dd4 to d49e885 Compare May 15, 2024 11:25
@arlyon arlyon force-pushed the 03-08-feat_add_mechanism_to_bypass_turbo_engine_for_annotated_methods branch from d49e885 to fbab81c Compare May 15, 2024 15:25
@arlyon arlyon force-pushed the 03-08-feat_add_mechanism_to_bypass_turbo_engine_for_annotated_methods branch from fbab81c to 739c4e3 Compare May 15, 2024 15:27
@arlyon arlyon force-pushed the 03-08-feat_add_mechanism_to_bypass_turbo_engine_for_annotated_methods branch from 739c4e3 to 2671771 Compare May 16, 2024 08:06
@arlyon arlyon requested a review from anthonyshew as a code owner May 22, 2024 07:37
@arlyon arlyon changed the base branch from 03-08-feat_add_mechanism_to_bypass_turbo_engine_for_annotated_methods to 03-08-add_ability_to_filter_by_value_and_occurences May 22, 2024 07:37
Copy link
Member

@bgw bgw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple quick comments about fjall and neo4j as I skimmed over this.

`graph.cypherl` file which can be loaded into any cypher-compatible database.

```bash
# run neoj4
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this actually needed? I'm not seeing where we're calling into it. (also, neoj4/neo4j typo)


pub struct CallResolver<'a> {
client: &'a mut RAClient,
fjall: &'a fjall::Keyspace,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm worried that a library like fjall might be overkill for our needs, especially as it looks like you don't need many of the things if offers (range and prefix search, snapshotting, etc). How large is this dataset? Would it be practical to just keep it in memory as a hashmap, and then serialize to a binary format (e.g. with rkyv or serde) when writing it to disk?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants