octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #61259] slow printing of images


From: Fabio
Subject: [Octave-bug-tracker] [bug #61259] slow printing of images
Date: Tue, 5 Oct 2021 13:27:08 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:92.0) Gecko/20100101 Firefox/92.0

Follow-up Comment #6, bug #61259 (project octave):

I am running the tests on a i7-6700 CPU with 32GB of RAM, it has an embedded
Intel integrated graphics. There are two swap partitions of 8GB. The
application is not swapping during its execution.

Regarding the opengl buffer overflow, as described in #49482, the default
starting value is very small (2 MB) considering today's memory sizes and this
causes many iterations before finding the right value. Besides decimating the
data, another option might be to suggest the initial value for the buffer size
(of course this needs changing the code of octave a little bit) to avoid many
iterations.

Thanks for pointing out the issue regarding the change of toolkit vs open
figures. I have modified the script and executed again it with software and
hardware rendering. The numbers are odd, why I get better results with
software rendering? Moreover, with software rendering the results are
independent of figure visibility while in the other case the numbers differ.

Here are the numbers:

** with hardware rendering **

OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 530 (SKL GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 21.1.7
OpenGL core profile shading language version string: 4.60
OpenGL version string: 3.0 Mesa 21.1.7
OpenGL shading language version string: 1.30
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 21.1.7
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

number of points is 100000

toolkit is fltk
figure visibility is on
printing of png took 3.304928 seconds
printing of pdf took 2.808755 seconds
skipping test for fltk where visibility is off
toolkit is gnuplot
figure visibility is on
printing of png took 1.411992 seconds
printing of pdf took 1.337175 seconds
figure visibility is off
printing of png took 0.784361 seconds
printing of pdf took 0.865343 seconds
toolkit is qt
figure visibility is on
printing of png took 4.799125 seconds
printing of pdf took 4.927203 seconds
figure visibility is off
printing of png took 2.328467 seconds
printing of pdf took 2.567297 seconds

number of points is 1000000

toolkit is fltk
figure visibility is on
printing of png took 30.306956 seconds
printing of pdf took 31.902370 seconds
skipping test for fltk where visibility is off
toolkit is gnuplot
figure visibility is on
printing of png took 12.315117 seconds
printing of pdf took 11.951613 seconds
figure visibility is off
printing of png took 6.122746 seconds
printing of pdf took 6.100312 seconds
toolkit is qt
figure visibility is on
printing of png took 93.662863 seconds
printing of pdf took 94.320593 seconds
figure visibility is off
printing of png took 22.948703 seconds
printing of pdf took 25.533747 seconds

number of points is 10000000

toolkit is fltk
figure visibility is on
printing of png took 529.557504 seconds
printing of pdf took 549.620309 seconds
skipping test for fltk where visibility is off
toolkit is gnuplot
figure visibility is on
printing of png took 129.594642 seconds
printing of pdf took 130.050794 seconds
figure visibility is off
printing of png took 63.390391 seconds
printing of pdf took 61.720492 seconds
toolkit is qt
figure visibility is on
printing of png took 1964.156863 seconds
printing of pdf took 1987.328518 seconds
figure visibility is off
printing of png took 337.246404 seconds
printing of pdf took 363.229381 seconds




** with software rendering **

OpenGL vendor string: Mesa/X.org
OpenGL renderer string: llvmpipe (LLVM 12.0.1, 256 bits)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 21.1.7
OpenGL core profile shading language version string: 4.50
OpenGL version string: 3.1 Mesa 21.1.7
OpenGL shading language version string: 1.40
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 21.1.7
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

number of points is 100000

toolkit is fltk
figure visibility is on
printing of png took 3.099921 seconds
printing of pdf took 2.463096 seconds
skipping test for fltk where visibility is off
toolkit is gnuplot
figure visibility is on
printing of png took 1.427321 seconds
printing of pdf took 1.450138 seconds
figure visibility is off
printing of png took 0.788535 seconds
printing of pdf took 0.789970 seconds
toolkit is qt
figure visibility is on
printing of png took 2.445887 seconds
printing of pdf took 2.493091 seconds
figure visibility is off
printing of png took 2.257260 seconds
printing of pdf took 2.484798 seconds

number of points is 1000000

toolkit is fltk
figure visibility is on
printing of png took 20.979849 seconds
printing of pdf took 21.887293 seconds
skipping test for fltk where visibility is off
toolkit is gnuplot
figure visibility is on
printing of png took 12.101142 seconds
printing of pdf took 11.926311 seconds
figure visibility is off
printing of png took 6.074225 seconds
printing of pdf took 6.330998 seconds
toolkit is qt
figure visibility is on
printing of png took 21.796262 seconds
printing of pdf took 22.823234 seconds
figure visibility is off
printing of png took 20.309321 seconds
printing of pdf took 21.275576 seconds

number of points is 10000000

toolkit is fltk
figure visibility is on
printing of png took 273.660133 seconds
printing of pdf took 272.683319 seconds
skipping test for fltk where visibility is off
toolkit is gnuplot
figure visibility is on
printing of png took 120.774204 seconds
printing of pdf took 124.490717 seconds
figure visibility is off
printing of png took 63.017600 seconds
printing of pdf took 62.645626 seconds
toolkit is qt
figure visibility is on
printing of png took 368.520071 seconds
printing of pdf took 365.772126 seconds
figure visibility is off
printing of png took 322.749520 seconds
printing of pdf took 342.344563 seconds



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61259>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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