Commit 82fe4ee
committed
minor EasyCorp#1003 Compile commonly used classes (javiereguiluz)
This PR was merged into the master branch.
Discussion
----------
Compile commonly used classes
This fixes EasyCorp#997.
In this PR I've only added the 8 classes that are loaded in all EasyAdmin pages. In new/form there are more classes loaded.
---
Performance profiling for the `list` view shows that indeed less classes are loaded:

But EasyAdmin is already quite fast, so users won't perceive any real difference:

---
Should we include this change or it's better to forget about this "improvement"?
Commits
-------
c6818a0 Compile commonly used classes1 file changed
Lines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
50 | 62 | | |
51 | 63 | | |
52 | 64 | | |
| |||
0 commit comments