Skip to content
Snippets Groups Projects
  1. Jan 26, 2015
  2. Jan 19, 2015
  3. Jan 15, 2015
  4. Jan 13, 2015
  5. Jan 12, 2015
  6. Jan 10, 2015
    • Lukas Reschke's avatar
      Use isset() instead of strlen() · 310424db
      Lukas Reschke authored
      Isset is a native language construct and thus A LOT faster than using strlen()
      
      On my local machine this leads to a 1s performance gain for about 1 million paths. Considering that this function will be called a lot for every file operation this makes a noticable difference.
      310424db
    • Lukas Reschke's avatar
      Cache results of `normalizePath` · 7e11ca06
      Lukas Reschke authored
      `normalizePath` is a rather expensive operation and called multiple times for a single path for every file related operation.
      
      In my development installation with about 9GB of data and 60k files this leads to a performance boost of 24% - in seconds that are 1.86s (!) - for simple searches. With more files the impact will be even more noticeable. Obviously this affects every operation that has in any regard something to do with using OC\Files\Filesystem.
      
      Part of https://github.com/owncloud/core/issues/13221
      7e11ca06
  7. Jan 09, 2015
  8. Jan 08, 2015
  9. Jan 06, 2015
    • Chris Wilson's avatar
      Improve debugging for ServiceUnavailable exceptions · 402a3ed1
      Chris Wilson authored
      I was getting a lot of these in my logs for no apparent reason, and file
      uploads were failing:
      
      	{"app":"webdav","message":"Sabre\\DAV\\Exception\\ServiceUnavailable: ","level":4,"time":"2015-01-06T15:33:39+00:00"}
      
      In order to debug it, I had to add unique messages to all the places where
      this exception was thrown, to identify which one it was, and that made the
      logs much more useful:
      
      	{"app":"webdav","message":"Sabre\\DAV\\Exception\\ServiceUnavailable: Encryption is disabled","level":4,"time":"2015-01-06T15:36:47+00:00"}
      402a3ed1
  10. Jan 02, 2015
  11. Dec 28, 2014
  12. Dec 21, 2014
  13. Dec 17, 2014
  14. Dec 15, 2014
  15. Dec 12, 2014
  16. Dec 11, 2014
  17. Dec 10, 2014
  18. Dec 08, 2014
  19. Dec 04, 2014
  20. Dec 03, 2014
    • Vincent Petry's avatar
      Log exceptions in DAV storage · bc12d28f
      Vincent Petry authored
      In some cases a "NotFound" might be expected, so just return false as
      before. But for other exceptions, the exception is now logged.
      bc12d28f
  21. Dec 02, 2014
  22. Nov 27, 2014
Loading