Skip to content

Speed up processing 'fixit.txt' by removing duplicate entries#1

Open
jasperla wants to merge 1 commit into
bceverly:masterfrom
jasperla:speedup_fixit
Open

Speed up processing 'fixit.txt' by removing duplicate entries#1
jasperla wants to merge 1 commit into
bceverly:masterfrom
jasperla:speedup_fixit

Conversation

@jasperla

Copy link
Copy Markdown

Simply removing the duplicate entries from fixit.txt before letting sqlite munch on it accounts for a nice speedup on my laptop:

before:
sqlite3 ports.db -init fixit.txt.orig '.quit' 238.69s user 83.20s system 99% cpu 5:23.45 total

after:
sqlite3 ports.db -init fixit.txt.new '.quit' 65.62s user 22.37s system 99% cpu 1:28.23 total

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