Genii Weblog
Odd finding with NotesDOMParser run repeated times
Tue 12 Jun 2007, 01:14 PM
Tweetby Ben Langhinrichs
Copyright © 2007 Genii Software Ltd.
What has been said:
600.1. Alan Bell (06/13/2007 07:25 AM)
sounds like an allocation of something (maybe memory maybe something else) which is done dynamically as the thing is parsed. The first time it runs it is being allocated fresh empty stuff, second time it runs there is more checking to see if the second-hand resource is available to use. I would suggest some good further tests would be to use NotesDomParser on a very small file (like 1 page) for the first run then the big file for the next run. Also try a 3000 page file for the first run with the 6000 page on the second run. Maybe if there was 3000 pages worth of second hand resources to deallocate and re-use it would add 55 seconds to the run time rather than 110.