Hi all,
I created a little test in order to compare the performance of python and FME.
For this test I created a CSV-file containing information of 1 000 000 people (ID, SEX). The goal was to count the number of men and women in this list.
I created a very basic Workspace with a reader, StatisticsCalculator and Logger in order to answer this question. The Workbench completes in 45 seconds.
When I do the same using only pythoncode, the result is print in 2 seconds.
Why is there such a big time difference between those two?
I know that the startup time of FME has to be taken into account (less than 3 seconds) and the reader converts the input to the FFS-format which will take some time. But I am sure that when I would change the pythoncode so that the features are written to an SQLite database, it wouldn't take 45 seconds to complete.
Can someone clarify this for me?
Thanks!
(the CSV contains only 500 000 in stead of 1 000 000 features since the file was too big)


