EmbarkStudios / texture-synthesis

🎨 Example-based texture synthesis written in Rust 🦀
http://embark.rs
Apache License 2.0
1.75k stars 83 forks source link

Very long execution time running the examples #56

Closed materialjan closed 4 years ago

materialjan commented 4 years ago

Running the given examples take a lot more time than using the cli version on the same machine. texture-synthesis --out out/01.jpg generate imgs/1.jpg took 20 seconds while cargo run --example 01_single_example_synthesis took like 12 minutes with cpu on full throttle.

Device:

Run the example twice after compilation. Same. Thanks. jan

repi commented 4 years ago

Just using cargo run builds and runs the executable in debug mode, which is slow.

Use: cargo run --release -- --example 01_single_example_synthesis to run an optimized release build which is much faster