Skip to content
This repository was archived by the owner on Feb 2, 2024. It is now read-only.

add perf tests#329

Merged
shssf merged 4 commits intoIntelPython:masterfrom
Rubtsowa:testperf_for_abs_cov_value_counts
Nov 25, 2019
Merged

add perf tests#329
shssf merged 4 commits intoIntelPython:masterfrom
Rubtsowa:testperf_for_abs_cov_value_counts

Conversation

@Rubtsowa
Copy link
Copy Markdown
Contributor

add tests for abs, value_counts, nsmallest, nlargest, var, idxmax, idxmin, prod, quantile, mean, unique, cumsum, nuniquem count, median, argsort, sort_values, dropna.

from sdc.tests.tests_perf.test_perf_base import *
from sdc.tests.tests_perf.test_perf_utils import *
from sdc.tests.test_utils import *
import pandas as pd
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please follow PEP8 import recommendations: https://www.python.org/dev/peps/pep-0008/#imports.

super().setUpClass()
cls.total_data_length = [5 * 10 ** 8]
cls.total_data_length = {
'series_float_min': [10 ** 9],
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's remove float from the name, leave just 'series_min'.
Maybe to add more sizes for each test to see weak scaling?

@shssf shssf merged commit 81fec58 into IntelPython:master Nov 25, 2019
@Rubtsowa Rubtsowa deleted the testperf_for_abs_cov_value_counts branch April 7, 2020 07:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants