500 B
500 B
diesel-bench
Project to test the effects on compilation time of different diesel features. To use, simply
adjust the features in Cargo.toml
and run bench.sh
. Some results:
diesel features | project compilation time | diesel compilation time |
---|---|---|
["postgres"] | 31s | 21s |
["postgres","64-column-tables"] | 1m 44s | 1m 35s |
["postgres","chrono","r2d2","64-column-tables","serde_json"] | 1m 46s | 1m 35s |
["postgres","chrono","r2d2","serde_json"] | 32s | 21s |