server/tests/lib
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
..
Accounts
Activity Remove deprecated publishActivity function 2018-10-05 12:55:45 +02:00
App add deck and mail to the groupware bundle, remove talk 2018-08-17 13:27:48 +02:00
AppFramework Do not use file as template parameter 2018-08-09 16:45:25 +02:00
Archive
Authentication Add tests 2018-10-02 19:50:54 +02:00
BackgroundJob
Cache
Calendar RoomManager/ResourceManager: Inject IServerContainer instead of using OC Server 2018-10-08 01:50:17 +02:00
Collaboration/Collaborators Ignore deactivated users in collaborators user search plugin 2018-08-06 09:55:24 +02:00
Command
Comments Allow to filter the unread count by verb 2018-07-30 09:41:51 +02:00
Contacts/ContactsMenu
DB Fix tests 2018-08-08 12:58:50 +02:00
Diagnostics
Encryption
Federation
Files Move normalizePath to regexes instead of looping 2018-10-10 13:23:59 +02:00
GlobalScale
Group Tests fix 2018-06-15 23:00:59 +02:00
Hooks
Http/Client Fix HTTP client given options being overriden by default options 2018-06-14 21:36:04 +02:00
IntegrityCheck
L10N Add simple unit test for findLanguageFromLocale 2018-09-23 20:12:00 +02:00
Lock prevent lock values from going negative with memcache backend 2018-07-05 14:39:10 +02:00
Lockdown
Log Fix tests 2018-10-02 18:37:57 +02:00
Mail Swift to \Swift_Mailer as abstraction 2018-07-04 08:28:33 +02:00
Memcache Drop support for xcache 2018-08-12 17:14:08 +02:00
Migration
Notification
OCS
Preview Merge pull request #10526 from steiny2k/HEICHEIF 2018-08-22 13:41:19 +02:00
PublicNamespace
Remote
Repair
RichObjectStrings
Security Fix tests 2018-05-14 13:30:22 +02:00
Session
Settings Fix reference to template in tests 2018-10-08 11:27:22 +02:00
Share Get rid of shareItem 2018-05-23 19:51:37 +02:00
Share20 Add support for tokens in room shares 2018-08-08 14:25:44 +02:00
Support/CrashReport Add breadcrumb support to crash reporters 2018-09-05 20:58:39 +02:00
SystemTag
Template Append cache bump parameter to scss files URL 2018-08-01 12:42:49 +02:00
Traits
Updater Backend work to provide NC whats New info to users 2018-07-05 14:33:08 +02:00
User Add tests 2018-10-02 19:50:54 +02:00
Util
AllConfigTest.php
APITest.php
AppConfigTest.php
AppTest.php always enable cloud federation api 2018-07-02 12:43:43 +02:00
AutoLoaderTest.php
AvatarManagerTest.php
AvatarTest.php Removed old route, fix tests and fix var type 2018-06-13 18:46:05 +02:00
CapabilitiesManagerTest.php
ConfigTest.php
ContactsManagerTest.php
DateTimeFormatterTest.php
ErrorHandlerTest.php
FileChunkingTest.php
FilesTest.php
HelperStorageTest.php
HookHelper.php
ImageTest.php
InfoXmlTest.php
InstallerTest.php Use isInstalled of AppManger instead of reimplement it 2018-03-21 11:34:18 +01:00
LargeFileHelperGetFileSizeTest.php
LargeFileHelperTest.php
LegacyHelperTest.php Deprecate unused, private OC_Helper::linkToPublic 2018-10-08 18:29:52 +02:00
LoggerTest.php revert Log's dependency to SystemConfig to work during Installation 2018-04-26 12:10:53 +02:00
MemoryInfoTest.php Adds license to files. Updates the branch. 2018-08-20 20:46:23 +02:00
NaturalSortTest.php
NavigationManagerTest.php Fixed phpunit 2018-07-13 14:47:00 +02:00
RepairStepTest.php
ServerTest.php
SetupTest.php Add more test cases 2018-09-30 12:24:38 +02:00
SubAdminTest.php
TagsTest.php Get rid of shareItem 2018-05-23 19:51:37 +02:00
TemplateFunctionsTest.php
TempManagerTest.php
TestCase.php whitelist audit.log 2018-06-29 11:03:13 +02:00
TestMoveableMountPoint.php
UpdaterTest.php Wait for cron to finish before running upgrade command 2018-06-19 14:22:45 +02:00
UrlGeneratorTest.php Add function to generate urls for OCS routes 2018-10-09 15:41:50 +02:00
UtilCheckServerTest.php
UtilTest.php