{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/10146","labels_url":"https://api.github.com/repos/apache/spark/issues/10146/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/10146/comments","events_url":"https://api.github.com/repos/apache/spark/issues/10146/events","html_url":"https://github.com/apache/spark/pull/10146","id":120415710,"number":10146,"title":"[SPARK-12026] [MLlib] ChiSqTest gets slower and slower over time when number of features is large","user":{"login":"hhbyyh","id":7981698,"avatar_url":"https://avatars.githubusercontent.com/u/7981698?v=3","gravatar_id":"","url":"https://api.github.com/users/hhbyyh","html_url":"https://github.com/hhbyyh","followers_url":"https://api.github.com/users/hhbyyh/followers","following_url":"https://api.github.com/users/hhbyyh/following{/other_user}","gists_url":"https://api.github.com/users/hhbyyh/gists{/gist_id}","starred_url":"https://api.github.com/users/hhbyyh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hhbyyh/subscriptions","organizations_url":"https://api.github.com/users/hhbyyh/orgs","repos_url":"https://api.github.com/users/hhbyyh/repos","events_url":"https://api.github.com/users/hhbyyh/events{/privacy}","received_events_url":"https://api.github.com/users/hhbyyh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-12-04T14:48:44Z","updated_at":"2016-01-12T02:27:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/10146","html_url":"https://github.com/apache/spark/pull/10146","diff_url":"https://github.com/apache/spark/pull/10146.diff","patch_url":"https://github.com/apache/spark/pull/10146.patch"},"body":"jira: https://issues.apache.org/jira/browse/SPARK-12026\r\n\r\nThe issue is valid as features.toArray.view.zipWithIndex.slice(startCol, endCol) becomes slower as startCol gets larger.\r\n\r\nI tested on local and the change can improve the performance and the running time was stable."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/170762436","html_url":"https://github.com/apache/spark/pull/10146#issuecomment-170762436","issue_url":"https://api.github.com/repos/apache/spark/issues/10146","id":170762436,"user":{"login":"AmplabJenkins","id":4031291,"avatar_url":"https://avatars.githubusercontent.com/u/4031291?v=3","gravatar_id":"","url":"https://api.github.com/users/AmplabJenkins","html_url":"https://github.com/AmplabJenkins","followers_url":"https://api.github.com/users/AmplabJenkins/followers","following_url":"https://api.github.com/users/AmplabJenkins/following{/other_user}","gists_url":"https://api.github.com/users/AmplabJenkins/gists{/gist_id}","starred_url":"https://api.github.com/users/AmplabJenkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmplabJenkins/subscriptions","organizations_url":"https://api.github.com/users/AmplabJenkins/orgs","repos_url":"https://api.github.com/users/AmplabJenkins/repos","events_url":"https://api.github.com/users/AmplabJenkins/events{/privacy}","received_events_url":"https://api.github.com/users/AmplabJenkins/received_events","type":"User","site_admin":false},"created_at":"2016-01-12T02:27:23Z","updated_at":"2016-01-12T02:27:23Z","body":"Test FAILed.\nRefer to this link for build results (access rights to CI server needed): \nhttps://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/49200/\nTest FAILed."}}