Skip to content
Snippets Groups Projects
  1. Jan 14, 2015
  2. Jan 13, 2015
  3. Jan 12, 2015
  4. Jan 11, 2015
  5. Jan 10, 2015
    • Lukas Reschke's avatar
      Verify whether value is already normalized · e80ece9a
      Lukas Reschke authored
      Apparently `normalizer_normalize` is not verifying itself whether the string needs to be converted or not. Or does it at least not very performantly.
      
      This simple change leads to a 4% performance gain on the processing of normalizeUnicode. Since this method is called quite often (i.e. for every file path) this has actually a measurable impact. For examples searches are now 200ms faster on my machine. Still not perfect but way to go.
      
      Part of https://github.com/owncloud/core/issues/13221
      e80ece9a
    • 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
    • Jenkins for ownCloud's avatar
      [tx-robot] updated from transifex · 22e5220c
      Jenkins for ownCloud authored
      22e5220c
  6. Jan 09, 2015
  7. Jan 08, 2015
  8. Jan 07, 2015
Loading