Posted to tcl by de at Tue Nov 19 22:17:18 GMT 2019view raw
- $ time xmllint --timing --noout --dtdvalid ~/downloads/svg11-flat-20110816.dtd ~/downloads/The_Rhodopes_on_The_Paths_Of_Orpheus_And_Eurydice_Project_Map.svg
- Parsing took 173 ms
- Parsing DTD took 6 ms
- Validating against DTD took 66 ms
- Freeing took 10 ms
- real 0m0,265s
- user 0m0,245s
- sys 0m0,020s
- $ time ./tcldomsh testspec.tcl svg.schema ~/downloads/The_Rhodopes_on_The_Paths_Of_Orpheus_And_Eurydice_Project_Map.svg
- Loading schema: 7297 microseconds per iteration
- /home/rolf/downloads/The_Rhodopes_on_The_Paths_Of_Orpheus_And_Eurydice_Project_Map.svg
- valdidate (time): 109725 microseconds per iteration
- real 0m0,169s
- user 0m0,161s
- sys 0m0,008s
- $ valgrind xmllint --timing --noout --dtdvalid ~/downloads/svg11-flat-20110816.dtd ~/downloads/The_Rhodopes_on_The_Paths_Of_Orpheus_And_Eurydice_Project_Map.svg
- ...
- ==13366== HEAP SUMMARY:
- ==13366== total heap usage: 641,891 allocs, 641,889 frees, 341,142,192 bytes allocated
- ...
- $ valgrind ./tcldomsh testspec.tcl svg.schema ~/downloads/The_Rhodopes_on_The_Paths_Of_Orpheus_And_Eurydice_Project_Map.svg
- ...
- ==13368== HEAP SUMMARY:
- ==13368== total heap usage: 13,709 allocs, 13,488 frees, 82,015,975 bytes allocated
- The The_Rhodopes_on_The_Paths_Of_Orpheus_And_Eurydice_Project_Map.svg
- file is slitely modified https://upload.wikimedia.org/wikipedia/commons/thumb/9/9d/The_Rhodopes_on_The_Paths_Of_Orpheus_And_Eurydice_Project_Map.svg/92px-The_Rhodopes_on_The_Paths_Of_Orpheus_And_Eurydice_Project_Map.svg.png (around 30 MByte).