Menu

Arcano, a Cycle ORM fork for PHP 8.4+: Cycle adds 5.7x to 9.5x more overhead on top of PDO
📰

Arcano, a Cycle ORM fork for PHP 8.4+: Cycle adds 5.7x to 9.5x more overhead on top of PDO

DEV Community: laravel·David William Balbino·about 7 hours ago
#x7swKQdY
#devtolaravel#devto#dev#arcano#cycle
Long article (1542 words) — no AI summary yet.
Reading 0:00
15s threshold

We rewrote hydration, the heap, eager loading and the unit of work, then measured each ORM against raw PDO on six scenarios; on select_all, Eloquent 12 stays within 2.4x.

Part of what an ORM costs happens after the database has answered. It turns rows into objects, tracks every entity it loaded, and works out what changed before it writes back. Those are the parts of Cycle ORM we rewrote, and the result is a fork called Arcano.

Arcano is a data mapper ORM for PHP 8.4+. It started from Cycle ORM 2.18.1 and Cycle Database 2.23.3. The API is still Cycle-compatible, under the Arcano\ORM and Arcano\Database namespaces.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.