1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/lib/arel/collectors
Ryuta Kamizono 2b35775fbe Add add_binds to bulk binds processing for performance
Before with `prepared_statements: true`:

```
Warming up --------------------------------------
      where with ids     9.000  i/100ms
Calculating -------------------------------------
      where with ids     91.992  (± 7.6%) i/s -    459.000  in   5.020817s
```

Now with `prepared_statements: true`:

```
Warming up --------------------------------------
      where with ids    10.000  i/100ms
Calculating -------------------------------------
      where with ids     99.393  (± 8.0%) i/s -    500.000  in   5.069280s
```
2020-05-11 03:24:49 +09:00
..
bind.rb Add add_binds to bulk binds processing for performance 2020-05-11 03:24:49 +09:00
composite.rb Add add_binds to bulk binds processing for performance 2020-05-11 03:24:49 +09:00
plain_string.rb Enable Performance/UnfreezeString cop 2018-09-23 08:56:55 +09:00
sql_string.rb Add add_binds to bulk binds processing for performance 2020-05-11 03:24:49 +09:00
substitute_binds.rb Add add_binds to bulk binds processing for performance 2020-05-11 03:24:49 +09:00