This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function setUp() { | |
| $this->useToken = SecureToken::is_enabled(); | |
| } | |
| function tearDown() { | |
| if($this->useToken) SecureToken::enable(); | |
| else SecureToken::disable(); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // 4 width grid = 960px | |
| $gridSize: 236px; | |
| $gridSpacing: 5px; // External spacing | |
| $mobileSpacing: 10px; // External spacing on mobile | |
| $cellPadding: 15px; // Internal padding | |
| @function gridSize($columns) { | |
| @return $columns * ($gridSize + $gridSpacing) - $gridSpacing; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Rua-Hotseat:framework rua$ ./sake dev/benchmarks/all "flush=all" | |
| SQLBENCHMARK | |
| ------------ | |
| SQLBENCHMARK | |
| benchmarkSelect | |
| --------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Rua-Hotseat:framework rua$ ./sake dev/benchmarks/all "flush=all" | |
| SQLBENCHMARK | |
| ------------ | |
| SQLBENCHMARK | |
| benchmarkSelect | |
| --------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Rua-Hotseat:framework rua$ ./sake dev/benchmarks/all "flush=all" | |
| SQLBENCHMARK | |
| ------------ | |
| SQLBENCHMARK | |
| benchmarkSelect | |
| --------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ ./sake dev/benchmarks/all "flush=all" | |
| SQLBENCHMARK | |
| ------------ | |
| SQLBENCHMARK | |
| benchmarkSelect | |
| --------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ ./sake dev/benchmarks/all "flush=all" | |
| SQLBENCHMARK | |
| ------------ | |
| SQLBENCHMARK | |
| benchmarkSelect | |
| --------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| DataObjectTest_Team: | |
| team1: | |
| Title: Team 1 | |
| team2: | |
| Title: Team 2 | |
| team3: | |
| Title: Team 3 | |
| DataObjectTest_Player: | |
| captain1: | |
| FirstName: Captain |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| class SQLBenchmark extends SS_Benchmark { | |
| protected static $fixture_file = 'SQLBenchmark.yml'; | |
| protected $extraDataObjects = array( | |
| 'DataObjectTest_Team', | |
| 'DataObjectTest_Fixture', | |
| 'DataObjectTest_SubTeam', |