Skip to content

perf: add fast-path for static routes in Router::checkRoutes() #17082

perf: add fast-path for static routes in Router::checkRoutes()

perf: add fast-path for static routes in Router::checkRoutes() #17082

Triggered via pull request November 15, 2026 15:08
Status Success
Total duration 27m 57s
Artifacts –

test-phpunit.yml

on: pull_request
Setup PHP Version for Code Coverage
2s
Setup PHP Version for Code Coverage
Matrix: Others
Matrix: CacheLive
Matrix: DatabaseLive
Matrix: SeparateProcess
Upload coverage results to Coveralls  /  coveralls
48s
Upload coverage results to Coveralls / coveralls
Fit to window
Zoom out
Zoom in

Annotations

1 error and 17 warnings
DatabaseLive (8.5, OCI8, 8.0) / tests
Process completed with exit code 2.
Others (8.2) / Sanity Tests: /tests/system/CodeIgniterTest.php#L990
Took 1.0354s from 0.5000s limit to run CodeIgniter\\CodeIgniterTest::testRouteAttributeCacheIntegration
DatabaseLive (8.2, MySQLi, 5.7) / tests: /tests/system/Database/DatabaseTestCaseTest.php#L71
Took 1.3198s from 0.5000s limit to run CodeIgniter\\Database\\DatabaseTestCaseTest::testMultipleMigrationNamespaces
DatabaseLive (8.2, MySQLi, 5.7) / tests: /tests/system/Database/Live/ReconnectDuringTransactionTest.php#L39
Took 3.0152s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ReconnectDuringTransactionTest::testReconnectInsideTransactionDoesNotReportSuccess
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Commands/CreateDatabaseTest.php#L89
Took 0.6444s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L92
Took 3.1594s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseIfNotExists
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L63
Took 3.3138s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseWithDots
DatabaseLive (8.2, MySQLi, 8.0) / tests: /tests/system/Database/Live/ReconnectDuringTransactionTest.php#L39
Took 3.0221s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ReconnectDuringTransactionTest::testReconnectInsideTransactionDoesNotReportSuccess
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Migrations/MigrationRunnerTest.php#L503
Took 1.1111s from 0.5000s limit to run CodeIgniter\\Database\\Migrations\\MigrationRunnerTest::testLatestWithLockingEnabledSucceeds
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Models/InsertModelTest.php#L38
Took 1.1651s from 0.5000s limit to run CodeIgniter\\Models\\InsertModelTest::testSetWorksWithInsert
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L1583
Took 1.2747s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testDropKey
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Models/InsertModelTest.php#L240
Took 1.3042s from 0.5000s limit to run CodeIgniter\\Models\\InsertModelTest::testInsertPermitInsertNoData
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/InsertTest.php#L238
Took 1.4291s from 0.5000s limit to run CodeIgniter\\Database\\Live\\InsertTest::testInsertBatchWithQuery
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/UpdateTest.php#L807
Took 1.4362s from 0.5000s limit to run CodeIgniter\\Database\\Live\\UpdateTest::testUpdateBatchWithQuery
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L1236
Took 1.7244s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testSetKeyNames
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L1680
Took 1.9975s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testProcessIndexes
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Commands/Database/MigrateStatusTest.php#L63
Took 2.3419s from 0.5000s limit to run CodeIgniter\\Commands\\Database\\MigrateStatusTest::testMigrateAllWithWithTwoNamespaces
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L494
Took 3.0534s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testForeignKey