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

test sudachi-synonym-dictionary: reduce checking #225

Conversation

tikkss
Copy link
Contributor

@tikkss tikkss commented Sep 8, 2024

GitHub: GH-188

Because csv file is too big (67,753 rows).

Before this change:

$ time ruby test/run-test.rb -t SudachiSynonymDictionaryTest --verbose=important-only
Finished in 1.296801 seconds.
2 tests, 2 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0
notifications

real    0m1.964s
user    0m1.740s
sys     0m0.118s

After this change:

$ time ruby test/run-test.rb -t SudachiSynonymDictionaryTest --verbose=important-only
Finished in 0.010658 seconds.
2 tests, 2 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0
notifications

real    0m0.634s
user    0m0.455s
sys     0m0.092s

GitHub: red-data-toolsGH-188

Because csv file is too big (67,753 rows).

Before this change:

```console
$ time ruby test/run-test.rb -t SudachiSynonymDictionaryTest --verbose=important-only
Finished in 1.296801 seconds.
2 tests, 2 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0
notifications

real    0m1.964s
user    0m1.740s
sys     0m0.118s
```

After this change:

```console
$ time ruby test/run-test.rb -t SudachiSynonymDictionaryTest --verbose=important-only
Finished in 0.010658 seconds.
2 tests, 2 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0
notifications

real    0m0.634s
user    0m0.455s
sys     0m0.092s
```
@kou kou merged commit 6723879 into red-data-tools:master Sep 8, 2024
9 checks passed
@kou
Copy link
Member

kou commented Sep 8, 2024

Thanks.

@tikkss tikkss deleted the test-sudachi-synonym-dictionary-reduce-checking branch September 9, 2024 03:33
@tikkss
Copy link
Contributor Author

tikkss commented Sep 9, 2024

Thanks for your review!

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.

2 participants