Commit 2260c57
authored
Add the initial implementation of javy-profiler (#1213)
* Add the initial implementation of javy-profiler
This patch is a follow-up to
#1208.
It marks the initial work to introduce the profiling functionality as
described in #1206.
Concretely, this patch focuses on the Whamm integration:
* Making the necessary changes to the build system to enable building
the profiler library that will be consumed by Whamm.
* Adding a new `profile` command and `profile inject` subcommad to the
CLI
* Gating this functionality under a feature flag.
Structure wise I tried to make this change as self-contained as
possible (see the changes the makefile, and the introduction of the
`profiler` feature flag), allowing for an straightforward removal
from tree if we ever decide that this feture should not stabilized.
* Ignore transitive dependencies when deriving the wasmtime version
This avoid pulling in multiple versions, introduce by transitive
dependencies (e.g., whamm)
* Run build feature assets in CI1 parent 7a2802c commit 2260c57
16 files changed
Lines changed: 1419 additions & 134 deletions
File tree
- .github
- actions/ci-common
- workflows
- crates
- cli
- src
- profiler-lib
- src
- profiler
- src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
| |||
0 commit comments