Add progress option to Vtracer #68
zamazan4ik
started this conversation in
Ideas
Replies: 2 comments 1 reply
-
What's the resolution of the image? The pipeline is not parallelized, so it is bound to 1 CPU core. |
Beta Was this translation helpful? Give feedback.
1 reply
-
73MP is not that bad. If you tile the image, it can easily be parallalized. The web GUI has a progress bar, may be you can take a look into how it calculates the progress and port the bits into the CLI. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I found that Vtracer performs conversion too slowly on this sample: https://sample-videos.com/download-sample-jpg-image.php , 30 Mib image with the following command:
vtracer --input input_30mib.jpg --output output.svg
. Vtracer is built locally withcargo build --release
with Rust 1.74 on the latestmaster
branch, commit74f2a04a17d8c246d80c439fb162780160a7c3e9
. It took2341.102 s [User: 2291.374 s, System: 42.931 s]
to convert the image (according to Hyperfine) even on my quite good AMD Ryzen 5900x with 48 Gib RAM (no swapping) I guess it's not an internal bug - just the input image is quite large to convert.From the user perspective, it would be nice to have an option to track the conversion progress somehow. So I will be able to estimate the finish time and check that Vtracker doesn't stuck and works properly.
Beta Was this translation helpful? Give feedback.
All reactions