-
-
Notifications
You must be signed in to change notification settings - Fork 5
Speed and benchmarks
Fast should mean responsive to the user, not simply impressive in a benchmark chart.
Framework benchmark contests are often misleading because they optimise for artificial workloads rather than for the actual behaviour a user experiences in a real application.
The places that usually deserve attention are:
- slow queries
- heavy rendering
- oversized assets
- too many network round trips
These are all practical bottlenecks that a user can feel.
Measure user-facing operations first. Optimise after you have found a real bottleneck. Simplicity, clear architecture, and avoiding unnecessary work are often the biggest performance wins.
WebEngine's static-first pages, thin page logic, and server-rendered HTML all help because they reduce the amount of work that needs to happen before a useful response can be shown.
Finally, let's move to the repository-entity pattern page to complete the further reading chapter.
- File-based routing
- Page views
- Page logic
- Dynamic URIs
- Headers and footers
- Custom HTML components
- Page partials
- Binding data to the DOM
- DOM manipulation
- Hello You tutorial
- Todo list tutorial
- Address book tutorial WIP
- Blueprints
- Application architecture
- Coding styleguide WIP
- PHP environment setup WIP
- Web servers WIP
- Background cron tasks
- Database setup WIP
- Client-side compilation WIP
- Testing WebEngine applications WIP
- Production checklist WIP
- Security WIP