[Kst] ASCII reader

Peter Kümmel syntheticpp at gmx.net
Tue Oct 23 16:12:22 UTC 2012


On 23.10.2012 17:24, Barth Netterfield wrote:
> I played a bit with the ascii data source on the way home last night:
> Performance:
>
> With on my dual core sandybridge, I see a x2 improvement in
> performance over 2.0.6
> (Reading the last 100 columns of a 200 row, 20000 column file, and
> reading the first column of a 4,000,000 row by 20 column file - both
> space separated)
I assume this is because of the dropping of QRegEx when parsing the column.
When you open the config dialog the speedup should be even better than x2.

> When attempting to read a 2.5GB file, no data were read.  I haven't
> explored further.  I didn't limit memory useage.
Have you checked what happens by enabling/disabling threads?
Could you have a look into the Log dialog?

>
> Except for the failure to read the really big file, the performance is
> markedly better than 2.0.6, and I see no regressions.  Great work!
Nice to hear ;)

>
> UI:
> -The ascii config dialog does not fit on a 1366x768 screen - its too
> tall.  It should be made wider and shorter.
OK, some fiddling with designer.

> -The purpose of the QDateTime format string field in the axis tab is
> not clear.  It doesn't seem to have anything to do with how the plot
> appears (everything else in the dialog does - since it is the plot
> dialog).  Is this a copy of the field in the ascii config dialog?
You could define the format of the time, e.g. suppressing the year
at the printed time, e.g.:
17:00.01 [min]
by selecting "QDateTime format string" in the combobox and using the
string "hh:mm:ss"


> Also, why is the label disabled?
I also saw this, but forgot to fix.

>
>


More information about the Kst mailing list