-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-MIRArea: Mid-level IR (MIR) - https://blog.rust-lang.org/2016/04/19/MIR.htmlArea: Mid-level IR (MIR) - https://blog.rust-lang.org/2016/04/19/MIR.htmlI-slowIssue: Problems and improvements with respect to performance of generated code.Issue: Problems and improvements with respect to performance of generated code.
Description
Running the benchmark suite from ethcore/parity
compiled with a recent nightly, produces mostly equal results, except for one type of benchmark which seems to be hit:
MIR:
test bench_stream_1000_empty_lists ... bench: 458,104 ns/iter (+/- 21,291)
test bench_stream_nested_empty_lists ... bench: 16,640 ns/iter (+/- 500)
test bench_stream_u256_value ... bench: 26,468 ns/iter (+/- 353)
test bench_stream_u64_value ... bench: 13,893 ns/iter (+/- 272)
Ye Olde:
test bench_stream_1000_empty_lists ... bench: 91,131 ns/iter (+/- 3,154)
test bench_stream_nested_empty_lists ... bench: 4,702 ns/iter (+/- 160)
test bench_stream_u256_value ... bench: 6,478 ns/iter (+/- 383)
test bench_stream_u64_value ... bench: 3,047 ns/iter (+/- 132)
Found on ARM Linux but hopefully not exclusive to that platform. Not sure if MIR should be held accountable at this early stage but here it is.
alexbool
Metadata
Metadata
Assignees
Labels
A-MIRArea: Mid-level IR (MIR) - https://blog.rust-lang.org/2016/04/19/MIR.htmlArea: Mid-level IR (MIR) - https://blog.rust-lang.org/2016/04/19/MIR.htmlI-slowIssue: Problems and improvements with respect to performance of generated code.Issue: Problems and improvements with respect to performance of generated code.