nextcloud/tests
Roeland Jago Douma d5bf2c4523
Move normalizePath to regexes instead of looping
This is IMO a bit more readable and it seems to make the code faster.
Tested it on the company instance where there are over 3k calls to this
function. It shaves off around 10ms.

The advantage here is that the pattern gets optimized by php itsel and
cached.
Also looking for all patterns at the same time and especially no longer
looping for /./ patterns should save time.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-10 13:23:59 +02:00
..
acceptance Change wording of 'Copy URL' to more understandable 'Copy link' 2018-10-01 11:02:12 +02:00
apps Validate the info.xml against the appstore schema file 2018-02-16 10:23:51 +01:00
Core Merge pull request #10898 from nextcloud/feature/10684/default-logo-color-theme-colors 2018-10-08 10:33:22 +02:00
data Refactors the scss svg functions 2018-10-02 08:37:55 +02:00
docker Namespace and array syntax fixes 2017-03-19 14:52:54 -06:00
lib Move normalizePath to regexes instead of looping 2018-10-10 13:23:59 +02:00
objectstore make object prefix configurable 2016-11-14 15:10:56 +01:00
Settings Change check if secure randomness is possible. 2018-08-24 23:12:02 +02:00
travis Changed name of default logfile from owncloud.log to nextcloud.log. 2016-07-04 11:50:32 +02:00
ui-regression Keep timestamp replacements at the beginning 2018-07-30 15:24:46 +02:00
apps.php Fix the tests again 2016-05-25 16:51:02 +02:00
bootstrap.php Require PHPUnit 6.5 or higher 2018-01-24 17:23:59 +01:00
drone-wait-objectstore.sh Kill objectstore CI if we can't create a file 2018-02-26 14:54:27 +01:00
enable_all.php Add tests 2018-01-25 13:44:47 +01:00
karma.config.js Move files_versions to compiled handlebars templates 2018-10-04 09:53:45 +02:00
phpunit-autotest-external.xml Adjust the phpunit config 2016-05-25 15:14:37 +02:00
phpunit-autotest.xml Do not cover composer folders for code coverage 2018-10-01 11:47:11 +02:00
preseed-config.php add azure unit tests with azurite 2018-06-04 16:18:03 +02:00
redis-cluster.config.php Fix drone 2017-07-14 15:04:18 +02:00
redis.config.php Fix drone 2017-07-14 15:04:18 +02:00
startsessionlistener.php Require PHPUnit 6.5 or higher 2018-01-24 17:23:59 +01:00