[postgis-tickets] [PostGIS] #4783: raster/test/regress/loader/TiledAuto takes ~20 seconds

PostGIS trac at osgeo.org
Sat May 8 20:11:07 PDT 2021


#4783: raster/test/regress/loader/TiledAuto takes ~20 seconds
-------------------------+---------------------------
  Reporter:  Algunenano  |      Owner:  kompza
      Type:  defect      |     Status:  new
  Priority:  medium      |  Milestone:  PostGIS 3.0.4
 Component:  raster      |    Version:  master
Resolution:              |   Keywords:
-------------------------+---------------------------

Comment (by stefanpetrea):

 I ran the tests before and after resizing the .tif file locally just to
 check how much faster the tests would run:

 {{{
 gdalwarp -ts 200 0 ./raster/test/regress/loader/testraster2.tif
 ./raster/test/regress/loader/testraster3.tif
 mv ./raster/test/regress/loader/testraster{3,2}.tif
 }}}

 Before:

 {{{
  ./loader/TiledAuto .... ok in 4872 ms
  ./loader/TiledAutoSkipNoData .... ok in 1547 ms
 }}}

 After:

 {{{
  ./loader/TiledAuto .... ok in 158 ms
  ./loader/TiledAutoSkipNoData .... ok in 115 ms
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4783#comment:10>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list