Add compilation benchmark, move scripts into subfolder #158

Merged
dessalines merged 1 commits from compilation-benchmark into move_views_to_diesel 2021-01-14 18:14:14 +00:00
Owner

Example output (with incremental build):

Starting iteration 0
cargo clean
cargo build
Finished iteration 0 after 19.396735937 seconds
Starting iteration 1
cargo clean
cargo build
Finished iteration 1 after 17.970995502 seconds
Starting iteration 2
cargo clean
cargo build
Finished iteration 2 after 18.321674994 seconds
Average compilation time over 3 runs is 18 seconds

Not sure why the "finished iteration" messages have so many digits, the scale=0 should take care of that (and works fine in the "average compilation time" message).

The script clean.sh seemed completely outdated, so I removed that.

Example output (with incremental build): ``` Starting iteration 0 cargo clean cargo build Finished iteration 0 after 19.396735937 seconds Starting iteration 1 cargo clean cargo build Finished iteration 1 after 17.970995502 seconds Starting iteration 2 cargo clean cargo build Finished iteration 2 after 18.321674994 seconds Average compilation time over 3 runs is 18 seconds ``` Not sure why the "finished iteration" messages have so many digits, the `scale=0` should take care of that (and works fine in the "average compilation time" message). The script `clean.sh` seemed completely outdated, so I removed that.
nutomic force-pushed compilation-benchmark from 90d679f058 to 5c198ea85d 2021-01-14 17:04:18 +00:00 Compare
dessalines merged commit 8b4a16a3f3 into move_views_to_diesel 2021-01-14 18:14:14 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: LemmyNet/lemmy#158
No description provided.