rowland / fb

Firebird Extension Library for Ruby
64 stars 35 forks source link

Now select statements(without transaction) started in read only #55

Closed woblavobla closed 7 years ago

woblavobla commented 7 years ago

If you have many selections, without explicitly started transaction, you will feel pain of writing to db every transaction. This patch will increase performance in these situations. And it's really better to use with rails, when almost any request is separate transactions.

rowland commented 7 years ago

It would take too much time to go through 2300 changed lines to puzzle out where changes were made. If you would like to submit another pull request with only the changes you arrived at, I will look at it.

However, please include the result of any benchmarks you have performed detailing performance improvements.