Skip to content
Snippets Groups Projects
  1. Dec 02, 2016
  2. Nov 28, 2016
  3. Nov 25, 2016
  4. Nov 22, 2016
  5. Nov 21, 2016
  6. Nov 19, 2016
  7. Nov 18, 2016
  8. Nov 17, 2016
  9. Nov 16, 2016
    • Guillaume Pasero's avatar
      e9d65ef7
    • Guillaume Pasero's avatar
    • Guillaume Pasero's avatar
    • Julien Michel's avatar
      PERF: Optimize BCOInterpolateImageFunction (kindly provided by Laurentiu Nicola) · b3a50337
      Julien Michel authored
      Simplify the code and avoid some allocations to improve performance.
      
      I haven't checked the definition of RealType, but merging the output and
      value variables might arguably affect precision. The unit tests still
      seem to pass, however.
      
      Tested by 2x upsampling a 10-band 5490x5490 float32 image on an Intel
      Celeron J1900.
      
      There is further room for improvement by eliding the remaining memory
      allocations. A container like the small_vector from Boost might be
      useful here, but we can't use that since it's not available in older
      Boost versions.
      
      before:
      661.44s user 9.31s system 304% cpu 3:40.52 total
      594.06s user 9.43s system 303% cpu 3:19.00 total
      591.15s user 9.43s system 301% cpu 3:19.28 total
      
      after:
      443.42s user 10.48s system 294% cpu 2:34.00 total
      443.11s user 9.87s system 309% cpu 2:26.27 total
      448.50s user 10.50s system 311% cpu 2:27.52 total
      b3a50337
    • Julien Michel's avatar
      PERF: Optimize BCOInterpolateImageFunction · 6a8c2a84
      Julien Michel authored
      Simplify the code and avoid some allocations to improve performance.
      
      I haven't checked the definition of RealType, but merging the output and
      value variables might arguably affect precision. The unit tests still
      seem to pass, however.
      
      Tested by 2x upsampling a 10-band 5490x5490 float32 image on an Intel
      Celeron J1900.
      
      There is further room for improvement by eliding the remaining memory
      allocations. A container like the small_vector from Boost might be
      useful here, but we can't use that since it's not available in older
      Boost versions.
      
      before:
      661.44s user 9.31s system 304% cpu 3:40.52 total
      594.06s user 9.43s system 303% cpu 3:19.00 total
      591.15s user 9.43s system 301% cpu 3:19.28 total
      
      after:
      443.42s user 10.48s system 294% cpu 2:34.00 total
      443.11s user 9.87s system 309% cpu 2:26.27 total
      448.50s user 10.50s system 311% cpu 2:27.52 total
      6a8c2a84
  10. Nov 15, 2016
  11. Nov 14, 2016
  12. Nov 10, 2016
  13. Nov 09, 2016
  14. Nov 07, 2016
Loading