# Differences in throughput between 1.5.2 and 2.0.0-RC5

**URL:** <https://community.gatling.io/t/differences-in-throughput-between-1-5-2-and-2-0-0-rc5/1436>\
**Category:** Gatling (Open-Source)\
**Created:** [September 18, 2014, 7:55pm UTC](https://community.gatling.io/t/differences-in-throughput-between-1-5-2-and-2-0-0-rc5/1436 "2014-09-18T19:55:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![John\_Huffaker1](https://avatars.discourse-cdn.com/v4/letter/j/96bed5/32.png) [@John\_Huffaker1](https://community.gatling.io/u/John_Huffaker1)\
**Post date:** [September 18, 2014, 7:55pm UTC](https://community.gatling.io/t/differences-in-throughput-between-1-5-2-and-2-0-0-rc5/1436/1 "2014-09-18T19:55:44Z")

</div>

Hey All,

(note: sorry I posted this a few times from my work account but it doesn’t seem to appear in the groups ui).

Hopefully I’ve just made a stupid error, but I tried benchmarking gatling between 1.5.2 and 2.0.0-RC5 against the same /ping =\> pong service and got much different peak throughputs.  
The 1.5.2 version peaks at ~23k RPS and the 2.0.0-RC5 peaks out at about 7.5k RPS.

Futher info:

1. Done on a macbook pro (java 1.7.0-67), invoked via gatling.sh
2. Server on same box as load driver
3. Both runs were done against a totally warm service.
4. Yes we would like to be able to drive more than 20k. We can and have done this over the network on a harder workload with 1.5.2 gatling.
5. I’ve tried tweaking http settings and didn’t manage to get any wins.

The main differences between the two are:

1. Gatling version
2. .users(1000) vs .inject(atOnceUsers(1000))

The scripts used on each:

– 152 —  
val httpConf = httpConfig.baseURL(“[http://localhost:9114](http://localhost:9114/)”)

val scn =  
scenario(“Ping Simulation”)  
.during(10 seconds)(  
exec(http(“ping”)  
.get("/ping")  
.check([status.in](http://status.in/)(Seq(200)))  
.check(bodyString.is(“pong\n”)))  
)  
.users(1000)  
.protocolConfig(httpConf)

setUp(scn)

— 200RC5 —

val httpConf = http.baseURL(“[http://localhost:9114](http://localhost:9114/)”)

val scn = scenario(“Ping”)  
.during(10 seconds)(  
exec(http(“ping”)  
.get("/ping")  
.check([status.is](http://status.is/)(200))  
.check(bodyString.is(“pong\n”))))

setUp(scn.inject(atOnceUsers(1000)).protocols(httpConf))

Regards,  
John Huffaker

---

<div class="post-metadata">

**Author:** ![Excilys](https://avatars.discourse-cdn.com/v4/letter/e/8797f3/32.png) [@Excilys](https://community.gatling.io/u/Excilys)\
**Post date:** [September 20, 2014, 5:42pm UTC](https://community.gatling.io/t/differences-in-throughput-between-1-5-2-and-2-0-0-rc5/1436/2 "2014-09-20T17:42:34Z")

</div>

Some emails end up being blocked on the Google Group, or end up in spam box, usually when they contain urls.  
I usually get notified once a day that some messages are pending, waiting for approval.
