Skip to content

Trans refactor was major perf perturbance #3402

Closed
@graydon

Description

@graydon

I can't say exactly whether it's good or bad, but the perf numbers went sideways a fair bit with the refactoring of trans in 5e36a99. Some numbers dropped, some went up a lot (factor of 2 on fibo and sudoku), and we lost about 5s on self-compile time.

All of this is potentially tolerable, I'm not suggesting we back it out (so nice!) but it's probably worth looking at a couple of the smaller benchmarks at least, maybe comparing a count-llvm-insns graph and/or the LLVM bitcode output, to see if something changed obviously (by mistake) in the code we're generating.

Metadata

Metadata

Assignees

Labels

A-codegenArea: Code generationI-slowIssue: Problems and improvements with respect to performance of generated code.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions