-
Notifications
You must be signed in to change notification settings - Fork 56
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
Re-Framework #182
Re-Framework #182
Conversation
e879a17
to
00628cc
Compare
ac8301e
to
4e7000e
Compare
Tested recompilation times with the code generation extraction from 4e7000e. Hot buildsRecompilation time when touching pepsi build # --profile release
touch crates/control/src/motion/walking_engine.rs
pepsi build # --profile release
Cold buildsUsing a locally installed pepsi to prevent unfair reuse in incremental mode of crates already built for pepsi. cargo clean
pepsi build # --profile release
Edit: added measurements for |
Rebased and resolved conflicts. |
728a9f2
to
e508461
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Introduced Changes
This refactors the existing framework parts of source analyzation and code generation.
framework.toml
(crates/hulk/framework.toml
)crates/source_analyzer
Cyclers
struct containing all info in a single treethiserror
including span informationquote!{ ... }
thiserror
ToDo / Known Issues
rerun-if-changed
calls, it seems the binary is always recompiledframework.toml
configurations to allow for different run-configurations.Ideas for Next Iterations (Not This PR)
How to Test
./pepsi run
(for webots)./pepsi upload xx
(to test the nao)./pepsi analyze xxxxxx
to query framework information