piston-examples icon indicating copy to clipboard operation
piston-examples copied to clipboard

Paint example extremely slow in debug mode

Open bvssvni opened this issue 9 years ago • 4 comments
trafficstars

The paint example is extremely slow in debug mode. Try:

cargo run --bin paint

vs

cargo run --release --bin paint

bvssvni avatar Apr 13 '16 16:04 bvssvni

Even in release mode it's slow when drawing very rapidly. But more importantly: It OOMs.

panicbit avatar Apr 29 '16 15:04 panicbit

Out of memory?

bvssvni avatar Apr 29 '16 15:04 bvssvni

Yup. It quickly fills gigabytes of memory.

panicbit avatar Apr 29 '16 15:04 panicbit

@bvssvni curses the rain gods :umbrella:

bvssvni avatar Apr 29 '16 15:04 bvssvni