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

Optimize with PGO #1404

Open
Stebalien opened this issue Sep 6, 2023 · 1 comment
Open

Optimize with PGO #1404

Stebalien opened this issue Sep 6, 2023 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers P3

Comments

@Stebalien
Copy link
Member

We should try optimizing the built-in actors with PGO, e.g., by profiling against the test vectors. This can often lead to a ~5%+ improvement in performance.

@Stebalien
Copy link
Member Author

To do this, we'll likely want to build an entire "release" pipeline that:

  1. Takes some recent test vectors (possibly extracting them from the network?).
  2. Takes the builtin actors we're intending to release.
  3. Builds said actors with profiling support enabled (in wasm? I think this is possible?).
  4. Executes the test vectors against this bundle.
  5. Compiles a profile and checks it into the "release" branch.
  6. Finally, builds the actors with this profile.

This is a non-trivial amount of work and likely not the highest priority. But it would be an interesting project for someone wishing to onboard into the ecosystem.

@Stebalien Stebalien added enhancement New feature or request P3 labels Sep 6, 2023
@Stebalien Stebalien added the good first issue Good for newcomers label Dec 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers P3
Projects
None yet
Development

No branches or pull requests

1 participant