# how to exclude ramp up from measurement

**URL:** <https://community.gatling.io/t/how-to-exclude-ramp-up-from-measurement/2766>\
**Category:** Gatling (Open-Source)\
**Created:** [January 13, 2016, 1:53pm UTC](https://community.gatling.io/t/how-to-exclude-ramp-up-from-measurement/2766 "2016-01-13T13:53:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![E\_Ulrich\_Kriegel](https://avatars.discourse-cdn.com/v4/letter/e/8797f3/32.png) [@E\_Ulrich\_Kriegel](https://community.gatling.io/u/E_Ulrich_Kriegel)\
**Post date:** [January 13, 2016, 1:53pm UTC](https://community.gatling.io/t/how-to-exclude-ramp-up-from-measurement/2766/1 "2016-01-13T13:53:55Z")

</div>

Hi there,  
because my application dynamically compiles some stuff during the first call, i would like to call it once before measurement starts. Is that possible?  
I tried

setUp(

QueryScenarioLocal.rampUp.inject(constantUsersPerSec(1) during (1 seconds)),

QueryScenarioLocal.scn.inject(nothingFor(5 seconds),

constantUsersPerSec(minUserPerSecond) during (duration seconds))

).protocols(httpProtocol)

but the summary contains the measurement for rampUp to. Since the first step is in the order of seconds whereas all other queries require some ms, the global result is not correct.

Thanks in advance

Ulrich

---

<div class="post-metadata">

**Author:** ![slandelle](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/slandelle/32/4_2.png) [@slandelle](https://community.gatling.io/u/slandelle)\
**Post date:** [January 13, 2016, 2:12pm UTC](https://community.gatling.io/t/how-to-exclude-ramp-up-from-measurement/2766/2 "2016-01-13T14:12:31Z")

</div>

Hey,

Featured in our upcoming commercial product 🙂

Cheers,
