Changes between Version 64 and Version 65 of Grass7/VectorLib


Ignore:
Timestamp:
08/25/11 03:28:10 (13 years ago)
Author:
martinl
Comment:

speed test

Legend:

Unmodified
Added
Removed
Modified
  • Grass7/VectorLib

    v64 v65  
    2121For more information see [wiki:Grass7/VectorLib/OGRInterface Direct OGR read and write access].
    2222
     23'''Simple test of rendering speed'''
     24
     25Region:
     26
     27{{{g.region vect=bridges}}}
     28
     29 * vector map 'bridges' (`points=10938`)
     30
     31{{{d.vect bridges type=point}}}
     32
     33Native:
     34
     35{{{
     36real    0m0.400s
     37user    0m0.388s
     38sys     0m0.008s
     39}}}
     40
     41Linked PostGIS layer:
     42
     43{{{
     44real    0m0.828s
     45user    0m0.568s
     46sys     0m0.016s
     47}}}
     48
     49 * vector map 'roadsmajor' (`lines=355`)
     50
     51{{{d.vect roadsmajor type=line}}}
     52
     53Native:
     54
     55{{{
     56real    0m0.103s
     57user    0m0.092s
     58sys     0m0.008s
     59}}}
     60
     61Linked PostGIS layer:
     62
     63{{{
     64real    0m0.521s
     65user    0m0.128s
     66sys     0m0.028s
     67}}}
     68
     69 * vector map 'urbanarea' (`areas=666`)
     70
     71{{{d.vect urbanarea type=centroid,area}}}
     72
     73Native:
     74
     75{{{
     76real    0m0.540s
     77user    0m0.520s
     78sys     0m0.016s
     79}}}
     80
     81Linked PostGIS layer:
     82
     83{{{
     84real    0m1.236s
     85user    0m0.736s
     86sys     0m0.068s
     87}}}
    2388== Direct PostGIS geometry editing ==
    2489