[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #63646] Long creation times for sparseimages.m

From: Dmitri A. Sergatskov
Subject: [Octave-bug-tracker] [bug #63646] Long creation times for sparseimages.m in manual due to -svgconvert option to print
Date: Sun, 15 Jan 2023 15:24:21 -0500 (EST)

Follow-up Comment #11, bug #63646 (project octave):

I confirm a ~25x speedup. Attached the profiler report for
a slightly modified test case (increased n to 333 and save to
svg to remove ghostscript from the problem):

    n = 333;
    a = 10*speye (n) + sparse (1:n,ceil ([1:n]/2),1,n,n) + ...
        sparse (ceil ([1:n]/2),1:n,1,n,n);
    r1 = chol (a);
    spy (r1);
    axis ("ij");
    tic; print -svgconvert blah2.svg; toc

Elapsed time is 1.86183 seconds.

I do not see an obvious bottleneck here.


(file #54232)


Additional Item Attachment:

File name: uprofile_svgpatch.png          Size:202 KB


Reply to this item at:


Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]