# Can we get Rails 3.X stable backfilled

**URL:** https://community.rubybench.org/t/can-we-get-rails-3-x-stable-backfilled/88
**Category:** Uncategorized
**Created:** [October 15, 2015, 12:01am UTC](https://community.rubybench.org/t/can-we-get-rails-3-x-stable-backfilled/88 "2015-10-15T00:01:31Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![sam](https://sea2.discourse-cdn.com/flex016/user_avatar/community.rubybench.org/sam/32/5_2.png) [@sam](https://community.rubybench.org/u/sam)
#### Post date: [October 15, 2015, 12:01am UTC](https://community.rubybench.org/t/can-we-get-rails-3-x-stable-backfilled/88/1 "2015-10-15T00:01:31Z")

</div>

@system noticed we are missing Rails 3.X stable benches, can we get them backfilled?

---

<div class="post-metadata">

### Author: ![tenderlove](https://sea2.discourse-cdn.com/flex016/user_avatar/community.rubybench.org/tenderlove/32/60_2.png) [@tenderlove](https://community.rubybench.org/u/tenderlove)
#### Post date: [October 15, 2015, 12:03am UTC](https://community.rubybench.org/t/can-we-get-rails-3-x-stable-backfilled/88/2 "2015-10-15T00:03:58Z")

</div>

I’d also like to contribute a benchmark. I went [here](https://github.com/ruby-bench/ruby-bench-suite) but couldn’t find the benchmark for object allocation on record save.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex016/uploads/rubybench/original/1X/4ae23b7eff9a1b039e126f05dd734ab09c8ab4b5.png) [@system](https://community.rubybench.org/u/system)
#### Post date: [October 15, 2015, 12:21am UTC](https://community.rubybench.org/t/can-we-get-rails-3-x-stable-backfilled/88/3 "2015-10-15T00:21:05Z")

</div>

Will this work? 😄

> <https://github.com/ruby-bench/ruby-bench-suite/blob/master/rails/benchmarks/bm_activerecord_save.rb>

@sam I removed Rails 3 benchmarks sometime back because for many of the benchmarks we had to account for the API changes from 3 to 4. And that was painful to deal with. Are Rails 3 benchmarks still useful?

---

<div class="post-metadata">

### Author: ![tenderlove](https://sea2.discourse-cdn.com/flex016/user_avatar/community.rubybench.org/tenderlove/32/60_2.png) [@tenderlove](https://community.rubybench.org/u/tenderlove)
#### Post date: [October 15, 2015, 12:22am UTC](https://community.rubybench.org/t/can-we-get-rails-3-x-stable-backfilled/88/4 "2015-10-15T00:22:42Z")

</div>

@tgxworld ya, that’s the one. Thank you!

---

<div class="post-metadata">

### Author: ![sam](https://sea2.discourse-cdn.com/flex016/user_avatar/community.rubybench.org/sam/32/5_2.png) [@sam](https://community.rubybench.org/u/sam)
#### Post date: [October 15, 2015, 4:03am UTC](https://community.rubybench.org/t/can-we-get-rails-3-x-stable-backfilled/88/5 "2015-10-15T04:03:11Z")

</div>

> [@system](#):
>
> I removed Rails 3 benchmarks sometime back because for many of the benchmarks we had to account for the API changes from 3 to 4. And that was painful to deal with. Are Rails 3 benchmarks still useful?

Yeah, I follow, maybe allow bench script to flag that they are compatible with rails 3 and skip incompatible ones. I do want to highlight some of the big perf regressions in Rails 4

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex016/uploads/rubybench/original/1X/4ae23b7eff9a1b039e126f05dd734ab09c8ab4b5.png) [@system](https://community.rubybench.org/u/system)
#### Post date: [October 15, 2015, 6:50am UTC](https://community.rubybench.org/t/can-we-get-rails-3-x-stable-backfilled/88/7 "2015-10-15T06:50:15Z")

</div>

@tenderlove Do you want a benchmark on save that adds more columns?

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex016/uploads/rubybench/original/1X/4ae23b7eff9a1b039e126f05dd734ab09c8ab4b5.png) [@system](https://community.rubybench.org/u/system)
#### Post date: [October 15, 2015, 1:21pm UTC](https://community.rubybench.org/t/can-we-get-rails-3-x-stable-backfilled/88/8 "2015-10-15T13:21:18Z")

</div>

Which are the benchmarks that you’re interested to have it backfilled for Rails 3?

---

<div class="post-metadata">

### Author: ![tenderlove](https://sea2.discourse-cdn.com/flex016/user_avatar/community.rubybench.org/tenderlove/32/60_2.png) [@tenderlove](https://community.rubybench.org/u/tenderlove)
#### Post date: [October 15, 2015, 2:52pm UTC](https://community.rubybench.org/t/can-we-get-rails-3-x-stable-backfilled/88/9 "2015-10-15T14:52:48Z")

</div>

@system Ya, I’d like to add a benchmark that has more columns and fills them in with strings. It would be cool if we could get the allocations (in memory size, not number) for an AR object.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex016/uploads/rubybench/original/1X/4ae23b7eff9a1b039e126f05dd734ab09c8ab4b5.png) [@system](https://community.rubybench.org/u/system)
#### Post date: [October 15, 2015, 3:52pm UTC](https://community.rubybench.org/t/can-we-get-rails-3-x-stable-backfilled/88/10 "2015-10-15T15:52:49Z")

</div>

> [@tenderlove](#):
>
> Ya, I’d like to add a benchmark that has more columns and fills them in with strings.

Ok I’ll add that in and start backfilling tomorrow.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex016/uploads/rubybench/original/1X/4ae23b7eff9a1b039e126f05dd734ab09c8ab4b5.png) [@system](https://community.rubybench.org/u/system)
#### Post date: [October 20, 2015, 12:57pm UTC](https://community.rubybench.org/t/can-we-get-rails-3-x-stable-backfilled/88/11 "2015-10-20T12:57:29Z")

</div>

Done backfilling 😄

[http://rubybench.org/rails/rails/commits?result\_type=activerecord/postgres\_create\_string\_columns&display\_count=2000](http://rubybench.org/rails/rails/commits?result_type=activerecord/postgres_create_string_columns&display_count=2000)

> [@tenderlove](#):
>
> It would be cool if we could get the allocations (in memory size, not number) for an AR object.

I’ll add this to my list but it won’t be available soon since we’ll have to backfill all the benchmark for this.
