SVMOP Journal of s/v Mother of Perl and Ocean Mapping

Home
  Boat
  Photos
  Hydrography

Journal
BlahBlah(1)
Plans(7)
Sail(3)
Tech(8)
VSTP(14)



Index

  SiteMap

Mail:
ben@maperl.com


Journal:

Fri, 21 Dec 2007

SVMOP:VSTP: Benchmark for fields2xml.py 12/21/2007 13:18

After some code cleanup, I ran the program on a full months data (6400 records) of GTS format. It took approximately 15 seconds to produce the XML. This was done on my Toshiba laptop model A-105 with:

model name      : Genuine Intel(R) CPU           T2050  @ 1.60GHz
stepping        : 8
cpu MHz         : 800.000
cache size      : 2048 KB

Not bad

[/VSTP] permanent link

SVMOP:VSTP: It has some smarts. 12/21/2007 11:39

I have added data types to input specs so that I can do expression evaluation specs for the output. In other words, instead of just making a reference in the output value to an input field (e.g. "lat"), you can have an expression that evaluates (e.g. "lat / 100" "( hour * 60 * 60 ) + ( min * 60 ) + sec" ). Notice that all tokens must be delimited by white space for this to work.

The project sits at https://cowfish/projects/bendev/ShipTracking

[/VSTP] permanent link