---
title: "Discussion on \"chunk() vs cursor() vs lazy() — I Benchmarked All 3 So You Don't Have To\" | Hashnode"
description: "Discussion on \"chunk() vs cursor() vs lazy() — I Benchmarked All 3 So You Don't Have To\". Laravel's chunk(), cursor(), and lazy() explained and benchmarked for real memory, query count, and speed differences."
url: "https://hashnode.com/posts/chunk-vs-cursor-vs-lazy-i-benchmarked-all-3-so-you-don-t-have-to/6a897c85d0f92c41b2ec11e0"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [chunk() vs cursor() vs lazy() — I Benchmarked All 3 So You Don't Have To](https://eliasalrgeaidev.hashnode.dev/chunk-vs-cursor-vs-lazy-i-benchmarked-all-3-so-you-don-t-have-to?utm_source=hashnode&utm_medium=feed)

Laravel's chunk(), cursor(), and lazy() explained and benchmarked for real memory, query count, and speed differences.

Aug 22 · 10 min read · eliasalrgeaidev.hashnode.dev  
Updated Aug 24  
Read the article

-   [#laravel](https://hashnode.com/tag/laravel)
-   [#backend](https://hashnode.com/tag/backend)
-   [#php](https://hashnode.com/tag/php)
-   [#database](https://hashnode.com/tag/database)
-   [#webdev](https://hashnode.com/tag/webdev)

## Written by

[Elias Alrgeai](https://hashnode.com/@EliasAlrgeaiDev)

@EliasAlrgeaiDev

  
[View profile](https://hashnode.com/@EliasAlrgeaiDev)

Laravel & PHP Specialist

Laravel &amp; PHP Specialist. Building secure, production-grade backend systems engineered for the real world. Focused on raw performance architecture and database scaling.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
