Commit 7329607
authored
Split
* [ci] Run Miri tests on multiple threads
Use `cargo nextest` to run Miri tests on twice the number of threads as
there are CPU cores.
* Split `test_ptr_try_cast_into_soundness`
This should enable better parallelization, especially under Miri in CI.
Comparing [1] (run with the parent commit) and [2] (run with this
commit), we see an overall speedup of 22m51s -> 18m28s, or ~19%.
[1] https://github.com/google/zerocopy/actions/runs/9148942749
[2] https://github.com/google/zerocopy/actions/runs/9148952446test_ptr_try_cast_into_soundness (#1308)1 parent 889ac1b commit 7329607
1 file changed
+23
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1526 | 1526 | | |
1527 | 1527 | | |
1528 | 1528 | | |
1529 | | - | |
1530 | | - | |
| 1529 | + | |
| 1530 | + | |
| 1531 | + | |
1531 | 1532 | | |
1532 | 1533 | | |
1533 | 1534 | | |
| |||
1650 | 1651 | | |
1651 | 1652 | | |
1652 | 1653 | | |
| 1654 | + | |
| 1655 | + | |
| 1656 | + | |
| 1657 | + | |
| 1658 | + | |
| 1659 | + | |
| 1660 | + | |
| 1661 | + | |
| 1662 | + | |
| 1663 | + | |
1653 | 1664 | | |
1654 | | - | |
1655 | | - | |
| 1665 | + | |
| 1666 | + | |
| 1667 | + | |
| 1668 | + | |
1656 | 1669 | | |
1657 | 1670 | | |
1658 | 1671 | | |
| |||
1667 | 1680 | | |
1668 | 1681 | | |
1669 | 1682 | | |
1670 | | - | |
| 1683 | + | |
| 1684 | + | |
| 1685 | + | |
| 1686 | + | |
1671 | 1687 | | |
| 1688 | + | |
1672 | 1689 | | |
1673 | 1690 | | |
1674 | | - | |
| 1691 | + | |
1675 | 1692 | | |
1676 | 1693 | | |
1677 | 1694 | | |
| |||
0 commit comments