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
| $ ./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
| public function testFirstSentence() { | |
| $many = str_repeat('many ', 100); | |
| $cases = array( | |
| '<h1>should ignore</h1><p>First sentence. Second sentence.</p>' => 'First sentence.', | |
| '<h1>should ignore</h1><p>First Mr. sentence. Second sentence.</p>' => 'First Mr. sentence.', | |
| "<h1>should ignore</h1><p>Sentence with {$many}words. Second sentence.</p>" | |
| => "Sentence with {$many}words.", | |
| '<p>This classic picture book features a repetitive format that lends itself to audience interaction. Illustrator Eric Carle submitted new, bolder artwork for the 25th anniversary edition.</p>' | |
| => 'This classic picture book features a repetitive format that lends itself to audience interaction.' | |
| ); |
NewerOlder