# Pmap batch example

**URL:** <https://discourse.julialang.org/t/pmap-batch-example/41849>\
**Category:** Julia at Scale\
**Created:** [June 22, 2020, 9:48am UTC](https://discourse.julialang.org/t/pmap-batch-example/41849 "2020-06-22T09:48:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jamblejoe](https://avatars.discourse-cdn.com/v4/letter/j/ee7513/32.png) [@jamblejoe](https://discourse.julialang.org/u/jamblejoe)\
**Post date:** [June 22, 2020, 9:48am UTC](https://discourse.julialang.org/t/pmap-batch-example/41849/1 "2020-06-22T09:48:40Z")

</div>

Hi,  
can someone provide me with a good example of using the `batch_size` parameter of the `pmap` function? I found [Parallelism - Understanding pmap and the batch\_size parameter](https://discourse.julialang.org/t/parallelism-understanding-pmap-and-the-batch-size-parameter/15604) which indicates a performance increase by increasing the batch size beyond 1. But unfortunately noone replied to the initial post andexplained this.

Thanks!
