[CONJS-210] multi-row result-set performance improvement Created: 2022-07-05 Updated: 2022-07-12 Resolved: 2022-07-12 |
|
| Status: | Closed |
| Project: | MariaDB Connector/node.js |
| Component/s: | performance |
| Affects Version/s: | None |
| Fix Version/s: | 3.0.1 |
| Type: | Task | Priority: | Major |
| Reporter: | Diego Dupin | Assignee: | Diego Dupin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Multi rows resultset parsing object is ported by column object, resulting in bad javascript compilation, functions beeing created for each resultset. improvement :
|
| Comments |
| Comment by Diego Dupin [ 2022-07-06 ] | ||||
|
so far : for a query with 1000 rows of int + varchar(32) :
| ||||
| Comment by Diego Dupin [ 2022-07-07 ] | ||||
|
same results with new implementation :
| ||||
| Comment by Diego Dupin [ 2022-07-12 ] | ||||
|
final result, with a slighly changed benchmarks :
difference is that comparison wasn't accurate, mysql2 use some client metadata caching. |