[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Profile, imwrite and __magick_write__
From: |
ijourneaux |
Subject: |
Profile, imwrite and __magick_write__ |
Date: |
Wed, 22 Jan 2014 10:59:20 -0800 (PST) |
I am using Octave 3.7.2+ VS2010 and was trying out the profiling
functionality to see if I could improve the performance of the Octave
routine I am using.
It turns out that most of the time is consumed in imwrite and the routine it
calls __magick_write__.
Is there anything I can do to improve the performance? I am reading image
files, processing them and saving them out again. I was surprised that the
__magick_read__ was substantially less than the __magick_write__.
Take Care
octave-qt.exe:5> profshow(T)
# Function Attr Time (s) Calls
----------------------------------------------------
122 __magick_write__ 360.592 17
93 conv2 24.302 109
6 binary == 10.697 2524
123 bwlabel 10.697 7
16 find 9.344 1005
90 uint8 5.259 92
86 __magick_read__ 3.941 11
145 applylut 2.101 22
29 binary + 0.930 2677
38 max 0.907 1239
132 binary .* 0.610 10
28 binary * 0.564 4704
23 binary - 0.462 4701
2 binary != 0.421 1430
124 double 0.329 90
37 abs 0.326 84
5 binary > 0.301 3490
19 cd 0.280 15
--
View this message in context:
http://octave.1599824.n4.nabble.com/Profile-imwrite-and-magick-write-tp4661277.html
Sent from the Octave - General mailing list archive at Nabble.com.
- Profile, imwrite and __magick_write__,
ijourneaux <=