"SS" == Shriramana Sharma <samjnaa@...400...> writes:
SS> Hi -- I'd like to know what you find advantageous in inkview due to SS> which you prefer it over inkscape itself for viewing SVGs.
Size, speed and the fact that it is a viewer and not and editor.
One does not want to open an editor to view a file. The UI is wrong and they are generally much heavier weight.
I just tried viewing a simple svg in inkview and inkscape, closing each as soon as the window mapped. This is on an amd rs880 box.
:; time inkview BesselI.svg
real 0m4.163s user 0m0.380s sys 0m0.127s
:; time inkscape BesselI.svg
real 1m27.183s user 1m16.044s sys 0m0.300s
Waiting even four seconds is a bit much, but ninety seconds?
With a hot cache inkview got the window mapped in under one second.
Inkscape still needed *way* too long.
Gnu time(1) gives more details. This is with a hot cache:
:; gtime -v inkview ~/BesselI.svg Command being timed: "inkview /home/cloos/BesselI.svg" User time (seconds): 0.21 System time (seconds): 0.04 Percent of CPU this job got: 45% Elapsed (wall clock) time (h:mm:ss or m:ss): 0:00.57 Maximum resident set size (kbytes): 154720 Minor (reclaiming a frame) page faults: 10389 Voluntary context switches: 73 Involuntary context switches: 109 Page size (bytes): 4096
:; gtime -v inkscape ~/BesselI.svg Command being timed: "inkscape /home/cloos/BesselI.svg" User time (seconds): 77.22 System time (seconds): 0.14 Percent of CPU this job got: 98% Elapsed (wall clock) time (h:mm:ss or m:ss): 1:18.24 Maximum resident set size (kbytes): 506512 Major (requiring I/O) page faults: 25 Minor (reclaiming a frame) page faults: 33126 Voluntary context switches: 262 Involuntary context switches: 9329 File system inputs: 6040 File system outputs: 856 Page size (bytes): 4096
(I elided all of the rows which were zero, to make it easier to view.)
Those differences make inkscape useles as a viewer. Which is expected, anyway. It is, after all, an editor.
Inkview is small, fast (including in contrained environments -- it worked fine on my old pent-iii 1/2-gig laptop, even with lots of other stuff running) and efficient. It does exactly what one wants an svg viewer to do.
Calls to eliminate it are misguided at best.
P.S. Remember that most users do not follow inkscape-dev.....
-JimC