# Parallel is very slow

**URL:** https://discourse.julialang.org/t/parallel-is-very-slow/9443
**Category:** General Usage
**Tags:** parallel
**Created:** [March 2, 2018, 8:45am UTC](https://discourse.julialang.org/t/parallel-is-very-slow/9443 "2018-03-02T08:45:59Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![rveltz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rveltz/32/2707_2.png) [@rveltz](https://discourse.julialang.org/u/rveltz)
#### Post date: [March 2, 2018, 9:01am UTC](https://discourse.julialang.org/t/parallel-is-very-slow/9443/2 "2018-03-02T09:01:08Z")

</div>

timing in global scope is bad. You should put this code in a function. Also, you are timing the compilation time.

---

_[View the full topic](https://discourse.julialang.org/t/parallel-is-very-slow/9443)._
