You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Dong Lin (Jira)" <ji...@apache.org> on 2022/05/06 12:43:00 UTC

[jira] [Created] (FLINK-27535) Optimize the unit test execution time

Dong Lin created FLINK-27535:
--------------------------------

             Summary: Optimize the unit test execution time
                 Key: FLINK-27535
                 URL: https://issues.apache.org/jira/browse/FLINK-27535
             Project: Flink
          Issue Type: Improvement
          Components: Library / Machine Learning
    Affects Versions: ml-2.1.0
            Reporter: Dong Lin


Currently `mvn package` takes 10 minutes to complete in Github actions. A lot of time is spent in running unit tests for algorithms. For example, LogisticRegressionTest takes 82 seconds and KMeansTest takes 43 seconds in [1]. 

This time appears to be more than expected. And it will considerably reduce developer velocity if a developer needs to wait for hours to get test results once we have 100+ algorithms in Flink ML.

We should understand why it takes 82 seconds to run e.g. LogisticRegressionTest and see if there is a way to optimize the test execution time.

[1] https://github.com/apache/flink-ml/runs/6319402103?check_suite_focus=true.





--
This message was sent by Atlassian Jira
(v8.20.7#820007)