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

Use #![no_std] in test crates wherever feasible. (#798) #801

Merged
merged 1 commit into from
Mar 7, 2025

Conversation

obi1kenobi
Copy link
Owner

In the original code:

generate rustdoc JSON:
real    0m20.535s
user    0m17.535s
sys     0m2.646s

cargo test:
real    0m1.223s
user    0m11.498s
sys     0m0.737s

19MB in localdata/test_data

With #![no_std] where easily feasible:

generate rustdoc JSON:
real    0m15.892s
user    0m13.102s
sys     0m2.543s

cargo test:
real    0m1.070s
user    0m10.122s
sys     0m0.791s

8.6MB in localdata/test_data

In the original code:
```
generate rustdoc JSON:
real    0m20.535s
user    0m17.535s
sys     0m2.646s

cargo test:
real    0m1.223s
user    0m11.498s
sys     0m0.737s

19MB in localdata/test_data
```

With `#![no_std]` where easily feasible:
```
generate rustdoc JSON:
real    0m15.892s
user    0m13.102s
sys     0m2.543s

cargo test:
real    0m1.070s
user    0m10.122s
sys     0m0.791s

8.6MB in localdata/test_data
```
@obi1kenobi obi1kenobi enabled auto-merge (squash) March 7, 2025 04:46
@obi1kenobi obi1kenobi merged commit 8a3f0d0 into rustdoc-v35 Mar 7, 2025
6 checks passed
@obi1kenobi obi1kenobi deleted the cp_v35_faaacbf branch March 7, 2025 04:47
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.

1 participant