Skip to content
Snippets Groups Projects
  1. Sep 01, 2017
  2. Aug 28, 2017
  3. Jun 23, 2017
  4. Jun 16, 2017
  5. May 10, 2017
  6. Apr 21, 2017
  7. Apr 13, 2017
  8. Apr 12, 2017
  9. Apr 07, 2017
  10. Apr 05, 2017
  11. Apr 03, 2017
  12. Mar 10, 2017
  13. Mar 08, 2017
  14. Jan 18, 2017
  15. Jan 11, 2017
  16. Jan 10, 2017
  17. Jan 04, 2017
  18. Nov 17, 2016
  19. Nov 16, 2016
    • 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
  20. Oct 17, 2016
  21. Oct 14, 2016
  22. Oct 13, 2016
  23. Oct 04, 2016
  24. Sep 23, 2016
  25. Sep 21, 2016
  26. Sep 20, 2016
  27. Sep 16, 2016
  28. Sep 15, 2016
  29. Aug 29, 2016
  30. Aug 26, 2016
  31. Aug 25, 2016
Loading