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 diamonds: reduce checking #206

Merged
merged 1 commit into from
Sep 2, 2024

Conversation

tikkss
Copy link
Contributor

@tikkss tikkss commented Sep 2, 2024

GitHub: GH-188

Because csv file is too big (53,940 rows).

Before this change:

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

real    0m4.179s
user    0m3.738s
sys     0m0.202s

After this change:

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

real    0m0.551s
user    0m0.379s
sys     0m0.085s

GitHub: red-data-toolsGH-188

Because csv file is too big (53,940 rows).

Before this change:

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

real    0m4.179s
user    0m3.738s
sys     0m0.202s
```

After this change:

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

real    0m0.551s
user    0m0.379s
sys     0m0.085s
```
@kou kou merged commit 9e20d34 into red-data-tools:master Sep 2, 2024
12 checks passed
@kou
Copy link
Member

kou commented Sep 2, 2024

Thanks.

@tikkss tikkss deleted the test-diamonds-reduce-checking branch September 2, 2024 08:12
@tikkss
Copy link
Contributor Author

tikkss commented Sep 2, 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