Skip to content

Instantly share code, notes, and snippets.

@jedateach
Created December 4, 2012 04:06
Show Gist options
  • Save jedateach/4200485 to your computer and use it in GitHub Desktop.
Save jedateach/4200485 to your computer and use it in GitHub Desktop.
Slow Tests in SilverStripe 3
<?php
class DummyTest extends SapphireTest{
function testNothing(){
}
}
SS 2.4
============================================================================
PROFILER OUTPUT
============================================================================
Calls Time Routine
-----------------------------------------------------------------------------
1 382.9553 ms (72.29 %) all_execution
701 50.3416 ms (9.50 %) requireField
1 35.4891 ms (6.70 %) DB::connect
701 13.8748 ms (2.62 %) createField
1 0.2980 ms (0.06 %) main.php init
1 0.0200 ms (0.00 %) unprofiled
46.7372 ms (8.82 %) Missed
============================================================================
529.7160 ms (100.00 %) OVERALL TIME
============================================================================
SS3
============================================================================
PROFILER OUTPUT
============================================================================
Calls Time Routine
-----------------------------------------------------------------------------
1 1886.2426 ms (79.41 %) all_execution
557 437.8903 ms (18.44 %) requireField
557 11.6158 ms (0.49 %) createField
1 0.6809 ms (0.03 %) DB::connect
1 0.3121 ms (0.01 %) main.php init
1 0.0179 ms (0.00 %) unprofiled
38.4743 ms (1.62 %) Missed
============================================================================
2375.2339 ms (100.00 %) OVERALL TIME
============================================================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment