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

2- Binarise location4j data #6

Merged
merged 3 commits into from
Aug 9, 2024
Merged

2- Binarise location4j data #6

merged 3 commits into from
Aug 9, 2024

Conversation

tomaytotomato
Copy link
Owner

@tomaytotomato tomaytotomato commented Aug 9, 2024

fixes #2

Created a tool module that converts the JSON dataset into a binary format of the location4j classes (Country, State, City, Timezone)

Some improvements:

Test run before: 222ms
Test run after: 190ms

Test search before: 194ms
Test search after: 165ms

Storage before: 35.1 mb
Storage after: 21.2mb

Created a tool module that converts the JSON dataset into a binary format of the location4j classes (Country, State, City, Timezone)

Some improvements:

Test run before: 222ms
Test run after: 190ms

Test search before: 194ms
Test search after: 165ms

Disk before: 35.1 mb
Disk after: 21.2mb
@tomaytotomato tomaytotomato added the enhancement New feature or request label Aug 9, 2024
Copy link

sonarqubecloud bot commented Aug 9, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
59.8% Coverage on New Code (required ≥ 80%)
5.9% Duplication on New Code (required ≤ 3%)

See analysis details on SonarCloud

@tomaytotomato tomaytotomato merged commit 7335d75 into master Aug 9, 2024
1 of 2 checks passed
@tomaytotomato tomaytotomato deleted the 2-binarise-data branch August 10, 2024 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[IMPROVEMENT] Binarise dataset from JSON
1 participant