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

Allow to enable wasmtime's profiling support #181

Merged

Conversation

tetsuharuohzeki
Copy link
Contributor

Fix #180.

Copy link
Contributor

@cratelyn cratelyn left a comment

Choose a reason for hiding this comment

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

thank you for your patience!! this looks great to me.

i have one very small style nit below, but this mechanically all looks correct. ✨

lib/src/lib.rs Outdated
Comment on lines 32 to 33
pub use wasmtime::ProfilingStrategy;
pub use {error::Error, execute::ExecuteCtx, service::ViceroyService, upstream::BackendConnector};
Copy link
Contributor

Choose a reason for hiding this comment

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

style nit:

Suggested change
pub use wasmtime::ProfilingStrategy;
pub use {error::Error, execute::ExecuteCtx, service::ViceroyService, upstream::BackendConnector};
pub use {error::Error, execute::ExecuteCtx, service::ViceroyService, upstream::BackendConnector, wasmtime::ProfilingStrategy};

(this may need to get formatted)

@tetsuharuohzeki tetsuharuohzeki force-pushed the support-wasmtime-builtin-profiler branch from 68700a4 to 92f35af Compare October 3, 2022 19:05
@tetsuharuohzeki
Copy link
Contributor Author

@cratelyn

Thank you for your review!
I rebased on the latest main branch and addressed my pull request.

Could you review again?

@cratelyn
Copy link
Contributor

cratelyn commented Oct 3, 2022

@cratelyn

Thank you for your review! I rebased on the latest main branch and addressed my pull request.

Could you review again?

can do! rerunning now... 💭

Copy link
Contributor

@cratelyn cratelyn left a comment

Choose a reason for hiding this comment

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

✨ thanks again for adding this! how nifty 🔬

@cratelyn cratelyn merged commit 383e861 into fastly:main Oct 3, 2022
@tetsuharuohzeki tetsuharuohzeki deleted the support-wasmtime-builtin-profiler branch October 3, 2022 22:25
cratelyn pushed a commit that referenced this pull request Oct 11, 2022
NB: this is 0.3.0 because breaking changes were introduced in #181.
This was referenced Oct 11, 2022
cratelyn pushed a commit that referenced this pull request Oct 13, 2022
NB: this is 0.3.0 because breaking changes were introduced in #181.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow to enable wasmtime's profiling support
2 participants