Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update README.md, generate .svg file is better #1

Merged
merged 1 commit into from
Oct 25, 2019

Conversation

ttys3
Copy link

@ttys3 ttys3 commented Oct 25, 2019

dot generate svg file for the project just took 0.269s,
but took 5.286s for png file
and also , svg is better for resizing the image.

the display command from imagemagick package is not good at displaying huge image,
so it's better to use xdg-open let the Desktop environment to choose

❯ time go mod graph | modv | dot -T svg | display
go mod graph  0.06s user 0.03s system 186% cpu 0.048 total
modv  0.01s user 0.00s system 10% cpu 0.051 total
dot -T svg  0.22s user 0.01s system 83% cpu 0.269 total
display  46.03s user 4.21s system 215% cpu 23.267 total
❯ time go mod graph | modv | dot -T png | display
go mod graph  0.07s user 0.02s system 178% cpu 0.051 total
modv  0.00s user 0.00s system 10% cpu 0.054 total
dot -T png  5.12s user 0.11s system 99% cpu 5.276 total
display  39.50s user 3.75s system 156% cpu 27.591 total

@poloxue poloxue merged commit 8dbd686 into poloxue:master Oct 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants