Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

executemany bad benchmark results #556

Open
hivemall opened this issue Apr 14, 2020 · 1 comment
Open

executemany bad benchmark results #556

hivemall opened this issue Apr 14, 2020 · 1 comment

Comments

@hivemall
Copy link

@hivemall hivemall commented Apr 14, 2020

inserting via for loop await conn.execute(sql, arg1,..) is twice as fast vs one conn.executemany(sql, argslist) on a prebuilt argument list on repeating tests.
What is wrong with executemany, just curious.

execute 6.573141098022461 +- 0.05
executemany 9.750076532363892

fyi: conn.copy_records_to_table: 0.1228935718536377

@hivemall hivemall changed the title executemany bad benchmark executemany bad benchmark results Apr 14, 2020
@elprans
Copy link
Member

@elprans elprans commented Apr 14, 2020

See #295

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.