-
-
Notifications
You must be signed in to change notification settings - Fork 169
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6388 from getkirby/release/4.2.0
4.2.0
- Loading branch information
Showing
498 changed files
with
7,307 additions
and
2,665 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
<?php | ||
|
||
namespace Kirby\Filesystem; | ||
|
||
use Kirby\Cms\Page; | ||
|
||
class DirBench | ||
{ | ||
public function benchInventoryNoModels() | ||
{ | ||
Dir::inventory(__DIR__ . '/fixtures/inventory/models'); | ||
} | ||
|
||
public function benchInventoryOneModels() | ||
{ | ||
Page::$models = [ | ||
'a' => 'A' | ||
]; | ||
|
||
Dir::inventory(__DIR__ . '/fixtures/inventory/models'); | ||
|
||
Page::$models = []; | ||
} | ||
|
||
public function benchInventoryTwoModels() | ||
{ | ||
Page::$models = [ | ||
'a' => 'A', | ||
'b' => 'B' | ||
]; | ||
|
||
Dir::inventory(__DIR__ . '/fixtures/inventory/models'); | ||
|
||
Page::$models = []; | ||
} | ||
|
||
public function benchInventoryFiveModels() | ||
{ | ||
Page::$models = [ | ||
'a' => 'A', | ||
'b' => 'B', | ||
'c' => 'C', | ||
'd' => 'D', | ||
'e' => 'E' | ||
]; | ||
|
||
Dir::inventory(__DIR__ . '/fixtures/inventory/models'); | ||
|
||
Page::$models = []; | ||
} | ||
|
||
public function benchInventory26Models() | ||
{ | ||
Page::$models = [ | ||
'a' => 'A', | ||
'b' => 'B', | ||
'c' => 'C', | ||
'd' => 'D', | ||
'e' => 'E', | ||
'f' => 'F', | ||
'g' => 'G', | ||
'h' => 'H', | ||
'i' => 'I', | ||
'j' => 'J', | ||
'k' => 'K', | ||
'l' => 'L', | ||
'm' => 'M', | ||
'n' => 'N', | ||
'o' => 'O', | ||
'p' => 'P', | ||
'q' => 'Q', | ||
'r' => 'R', | ||
's' => 'S', | ||
't' => 'T', | ||
'u' => 'U', | ||
'v' => 'V', | ||
'w' => 'W', | ||
'x' => 'X', | ||
'y' => 'Y', | ||
'z' => 'Z' | ||
]; | ||
|
||
Dir::inventory(__DIR__ . '/fixtures/inventory/models'); | ||
|
||
Page::$models = []; | ||
} | ||
} |
Empty file.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Oops, something went wrong.
Empty file.
Empty file.
Oops, something went wrong.
Empty file.
Oops, something went wrong.
Empty file.
Empty file.
Oops, something went wrong.
Empty file.
Oops, something went wrong.
Empty file.
Empty file.
Oops, something went wrong.
Empty file.
Oops, something went wrong.
Empty file.
Empty file.
Oops, something went wrong.
Empty file.
Oops, something went wrong.
Empty file.
Empty file.
Oops, something went wrong.
Empty file.
Oops, something went wrong.
Empty file.
Empty file.
Oops, something went wrong.
Empty file.
Oops, something went wrong.
Empty file.
Empty file.
Oops, something went wrong.
Empty file.
Oops, something went wrong.
Empty file.
Empty file.
Oops, something went wrong.
Empty file.
Oops, something went wrong.
Empty file.
Empty file.
Oops, something went wrong.
Empty file.
Oops, something went wrong.
Empty file.
Empty file.
Oops, something went wrong.
Empty file.
Oops, something went wrong.
Empty file.
Empty file.
Oops, something went wrong.
Empty file.
Oops, something went wrong.
Empty file.
Empty file.
Oops, something went wrong.
Empty file.
Oops, something went wrong.
Empty file.
Empty file.
Oops, something went wrong.
Empty file.
Oops, something went wrong.
Empty file.
Empty file.
Oops, something went wrong.
Empty file.
Oops, something went wrong.
Empty file.
Empty file.
This file contains 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
This file contains 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
Oops, something went wrong.