[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #61647] Plot performance tic/toc misleading re
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #61647] Plot performance tic/toc misleading result |
Date: |
Thu, 9 Dec 2021 05:04:39 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; rv:94.0) Gecko/20100101 Firefox/94.0 |
URL:
<https://savannah.gnu.org/bugs/?61647>
Summary: Plot performance tic/toc misleading result
Project: GNU Octave
Submitted by: None
Submitted on: Thu 09 Dec 2021 10:04:37 AM UTC
Category: Plotting
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Performance
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: 6.3.0
Discussion Lock: Any
Operating System: Microsoft Windows
_______________________________________________________
Details:
Please run the following commands:
a=rand(1,100000);
b=rand(1,100000);
figure
tic;plot(a,b,'.');toc
It shows for example:
Elapsed time is 1 seconds.
But it is wrong! It takes about 4 seconds for plot to complete its task. CPU
usage in Task manager shows that. It seems that It takes 1 second for Octave
to create the required data structures to pass to the rendering backend and it
returns immediately. Rendering then takes 3 seconds.
So if there is a program to improve plot performance please go forward and
don't rely on tic/toc misleading results.
Thanks!
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?61647>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #61647] Plot performance tic/toc misleading result,
anonymous <=