Performance: Timestamps management
MEDIUM IMPACT
This affects database write speed and page response time when saving or updating records with timestamps.
Model::create(['name' => 'Example']); // Laravel auto-manages timestamps
Model::create(['name' => 'Example', 'created_at' => now(), 'updated_at' => now()]);
| Pattern | DOM Operations | Reflows | Paint Cost | Verdict |
|---|---|---|---|---|
| Manual timestamp setting on each save | 0 (server-side only) | 0 | 0 | [!] OK |
| Laravel automatic timestamps enabled | 0 (server-side only) | 0 | 0 | [OK] Good |
| Laravel timestamps disabled when unused | 0 (server-side only) | 0 | 0 | [OK] Good |