[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #63646] Long creation times for sparseimages.m
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #63646] Long creation times for sparseimages.m in manual due to -svgconvert option to print |
Date: |
Fri, 13 Jan 2023 00:39:49 -0500 (EST) |
URL:
<https://savannah.gnu.org/bugs/?63646>
Summary: Long creation times for sparseimages.m in manual due
to -svgconvert option to print
Project: GNU Octave
Submitter: rik5
Submitted: Thu 12 Jan 2023 09:39:47 PM PST
Category: Performance
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Regression
Status: Confirmed
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: stable
Discussion Lock: Any
Operating System: Any
Fixed Release: None
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Thu 12 Jan 2023 09:39:47 PM PST By: Rik <rik5>
Creation time for "spchol" image in the Octave manual has become very long.
The code to generate the image runs quite quickly (0.3 seconds on my PC).
n = 200;
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");
However, the print command is quite slow
octave:9> tic; print -nosvgconvert -depsc2 blah.eps; toc
Elapsed time is 1.0838 seconds.
octave:10> tic; print -svgconvert -depsc2 blah2.eps; toc
Elapsed time is 54.0847 seconds.
If there is no obvious way to improve efficiency of the -svgconvert option
then I think it should be disabled for generation of this particular figure.
This would not be hard as there is already a special test for eps output which
sets an option to the print command.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63646>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #63646] Long creation times for sparseimages.m in manual due to -svgconvert option to print,
Rik <=
- [Octave-bug-tracker] [bug #63646] Long creation times for sparseimages.m in manual due to -svgconvert option to print, Markus Mützel, 2023/01/13
- [Octave-bug-tracker] [bug #63646] Long creation times for sparseimages.m in manual due to -svgconvert option to print, Pantxo Diribarne, 2023/01/13
- [Octave-bug-tracker] [bug #63646] Long creation times for sparseimages.m in manual due to -svgconvert option to print, Dmitri A. Sergatskov, 2023/01/13
- [Octave-bug-tracker] [bug #63646] Long creation times for sparseimages.m in manual due to -svgconvert option to print, Dmitri A. Sergatskov, 2023/01/13
- [Octave-bug-tracker] [bug #63646] Long creation times for sparseimages.m in manual due to -svgconvert option to print, Rik, 2023/01/13
- [Octave-bug-tracker] [bug #63646] Long creation times for sparseimages.m in manual due to -svgconvert option to print, Pantxo Diribarne, 2023/01/13
- [Octave-bug-tracker] [bug #63646] Long creation times for sparseimages.m in manual due to -svgconvert option to print, Dmitri A. Sergatskov, 2023/01/13
- [Octave-bug-tracker] [bug #63646] Long creation times for sparseimages.m in manual due to -svgconvert option to print, John W. Eaton, 2023/01/13
- [Octave-bug-tracker] [bug #63646] Long creation times for sparseimages.m in manual due to -svgconvert option to print, Pantxo Diribarne, 2023/01/15
- [Octave-bug-tracker] [bug #63646] Long creation times for sparseimages.m in manual due to -svgconvert option to print, Arun Giridhar, 2023/01/15