Ticket #1228 (closed defect: fixed)
cairo performance is very bad
|Reported by:||guest||Owned by:||paolo|
I first generate 100,000 random lines. Drawing them with the cairo package takes 99 seconds. Drawing them with safe foreign imports takes 15 seconds. I haven't benchmarked unsafe foreign imports.
The 6.6x slowdown is rather high.
Benchmarking code attached. It might fail on systems where Double /= CDouble (a possible cause of the slowdown might be conversion between these).