-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: batch insertion of subject and subject digests
In some test attestations collections I ran into some that had roughly 50k subjects. MySql was taking sometimes a minute and a half to insert these collections. Using the batch functionality speeds this up greatly, reducing those insertions to around 1-2 seconds. Signed-off-by: Mikhail Swift <mikhail@testifysec.com>
- Loading branch information
1 parent
1cb368b
commit 5bcf80b
Showing
1 changed file
with
62 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters