Skip to content

Update sqlite.go#498

Open
poolpOrg wants to merge 1 commit into
mainfrom
poolpOrg-patch-2
Open

Update sqlite.go#498
poolpOrg wants to merge 1 commit into
mainfrom
poolpOrg-patch-2

Conversation

@poolpOrg

Copy link
Copy Markdown
Contributor

reduce cache_size, the default recommended value by SQLite is -2000 and it turns out to be produce similar performances with a considerable memory usage drop:

baseline:

  • timing: 244s on first run, 229s on second
  • Peak RSS: 2.5G on first, 3.1 on second

with this:

  • timing: 242s on first run, 230s on second
  • Peak RSS: 1.8G on first, 2.3G on second

@poolpOrg

Copy link
Copy Markdown
Contributor Author

snif

reduce cache_size, the default recommended value by SQLite is -2000 and it turns out to be produce similar performances with a considerable memory usage drop:

baseline:
- timing: 244s on first run, 229s on second
- Peak RSS: 2.5G on first, 3.1 on second

with this:
- timing: 242s on first run, 230s on second 
- Peak RSS: 1.8G on first, 2.3G on second
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant