News Score: Score the News, Sort the News, Rewrite the Headlines

Inserting 100k rows 66 times faster

Mar 20, 2024 · 824 words · 4 minute readIn the process of implementing the initial data syncing logic for a mostly offline application I noticed my database abstraction taking a solid 2 minutes for inserting short of 750k rows into a single database table.I set out to fix this bottleneck.Problems and Issues ##A new issue arose before i could even tackle the aforementioned performance problems: At first I used the spread syntax for a variadic amount of function parameters.1class Database { 2 asy...

Read more at xnacly.me

© News Score  score the news, sort the news, rewrite the headlines