[JIRA] [core] (JENKINS-21969) Performance issue with search box
SCM/JIRA link daemon commented on JENKINS-21969 Performance issue with search box Code changed in jenkins User: christ66 Path: core/src/main/java/hudson/model/User.java core/src/main/java/hudson/search/CollectionSearchIndex.java http://jenkins-ci.org/commit/jenkins/592dca5a88ac27f455f977cc760d7101fa577d96 Log: FIXED JENKINS-21969 Performance issue with search box when doing case insensitive searching. (cherry picked from commit 84e8d011805194578d3b3ccfca060ce5cffbf7eb) This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [core] (JENKINS-21969) Performance issue with search box
SCM/JIRA link daemon commented on JENKINS-21969 Performance issue with search box Code changed in jenkins User: christ66 Path: core/src/main/java/hudson/model/User.java core/src/main/java/hudson/search/CollectionSearchIndex.java http://jenkins-ci.org/commit/jenkins/84e8d011805194578d3b3ccfca060ce5cffbf7eb Log: FIXED JENKINS-21969 Performance issue with search box when doing case insensitive searching. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [core] (JENKINS-21969) Performance issue with search box
SCM/JIRA link daemon commented on JENKINS-21969 Performance issue with search box Code changed in jenkins User: Steven Christou Path: core/src/main/java/hudson/model/User.java core/src/main/java/hudson/search/CollectionSearchIndex.java http://jenkins-ci.org/commit/jenkins/a4c4ed5fdabaae6c734545fc6a548e1ed9c3267c Log: Merge pull request #1143 from christ66/JENKINS-21969 FIXED JENKINS-21969 Performance issue with search box Compare: https://github.com/jenkinsci/jenkins/compare/99e080f33afc...a4c4ed5fdaba This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [core] (JENKINS-21969) Performance issue with search box
SCM/JIRA link daemon resolved JENKINS-21969 as Fixed Performance issue with search box Change By: SCM/JIRA link daemon (11/Mar/14 12:48 AM) Status: Open Resolved Resolution: Fixed This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [core] (JENKINS-21969) Performance issue with search box
SCM/JIRA link daemon commented on JENKINS-21969 Performance issue with search box Code changed in jenkins User: christ66 Path: .idea/compiler.xml .idea/encodings.xml .idea/groovyc.xml changelog.html cli/pom.xml core/pom.xml core/src/main/java/hudson/ClassicPluginStrategy.java core/src/main/java/hudson/FilePath.java core/src/main/java/hudson/PluginManager.java core/src/main/java/hudson/cli/ConsoleCommand.java core/src/main/java/hudson/model/AbstractItem.java core/src/main/java/hudson/model/DirectoryBrowserSupport.java core/src/main/java/hudson/model/DownloadService.java core/src/main/java/hudson/model/Job.java core/src/main/java/hudson/model/ListView.java core/src/main/java/hudson/model/Queue.java core/src/main/java/hudson/model/Run.java core/src/main/java/hudson/model/UpdateSite.java core/src/main/java/hudson/model/User.java core/src/main/java/hudson/model/View.java core/src/main/java/hudson/model/queue/ScheduleResult.java core/src/main/java/hudson/slaves/SlaveComputer.java core/src/main/java/hudson/util/IOUtils.java core/src/main/java/hudson/util/ProcessTree.java core/src/main/java/hudson/util/RunList.java core/src/main/java/hudson/util/TextFile.java core/src/main/java/jenkins/ClassLoaderReflectionToolkit.java core/src/main/java/jenkins/diagnosis/HsErrPidList.java core/src/main/java/jenkins/model/Jenkins.java core/src/main/java/jenkins/security/DefaultConfidentialStore.java core/src/main/java/jenkins/util/VirtualFile.java core/src/main/resources/META-INF/upgrade/IOUtils.hint core/src/main/resources/hudson/model/AbstractBuild/tasks_zh_CN.properties core/src/main/resources/hudson/model/BooleanParameterDefinition/config.jelly core/src/main/resources/hudson/model/ChoiceParameterDefinition/config.jelly core/src/main/resources/hudson/model/FileParameterDefinition/config.jelly core/src/main/resources/hudson/model/PasswordParameterDefinition/config.jelly core/src/main/resources/hudson/model/RunParameterDefinition/config.jelly core/src/main/resources/hudson/model/StringParameterDefinition/config.jelly core/src/main/resources/hudson/model/TextParameterDefinition/config.jelly core/src/test/java/hudson/util/ProcessTreeTest.java core/src/test/java/hudson/util/RunListTest.java core/src/test/java/jenkins/RemotingJarSignatureTest.java debian/debian/changelog plugins/pom.xml pom.xml test/pom.xml test/src/main/java/org/jvnet/hudson/test/HudsonTestCase.java test/src/main/java/org/jvnet/hudson/test/JenkinsRule.java test/src/test/java/hudson/model/ListViewTest.java test/src/test/java/hudson/model/QueueTest.java test/src/test/java/hudson/model/UpdateCenterTest.java test/src/test/java/hudson/model/UpdateSiteTest.java test/src/test/java/hudson/model/UserTest.java test/src/test/java/hudson/tasks/ArtifactArchiverTest.java war/pom.xml war/src/main/webapp/images/16x16/gear2.gif war/src/main/webapp/images/16x16/gear2.png http://jenkins-ci.org/commit/jenkins/ae5a3cb3620b21daf2572b570312efabbaeed046 Log: Merge branch 'master' into JENKINS-21969 This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [core] (JENKINS-21969) Performance issue with search box
dogfood commented on JENKINS-21969 Performance issue with search box Integrated in jenkins_main_trunk #3215 FIXED JENKINS-21969 Performance issue with search box when doing case insensitive searching. (Revision 84e8d011805194578d3b3ccfca060ce5cffbf7eb) Result = SUCCESS schristou88 : 84e8d011805194578d3b3ccfca060ce5cffbf7eb Files : core/src/main/java/hudson/model/User.java core/src/main/java/hudson/search/CollectionSearchIndex.java This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [core] (JENKINS-21969) Performance issue with search box
Jesse Glick updated JENKINS-21969 Performance issue with search box Change By: Jesse Glick (28/Feb/14 1:58 PM) Labels: performance This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [core] (JENKINS-21969) Performance issue with search box
Steven Christou updated JENKINS-21969 Performance issue with search box Change By: Steven Christou (27/Feb/14 11:32 PM) Description: Thecurrentsearchboxisveryinefficientwhencheckingforsuggestions.Whenauserenterspartofausernamewaitingfortheautocompletetofinish,iftherearealotofusersitcantakeaverylongtime. WhilerunningasearchinthesearchboxIranaquickthreaddumptofindoutwherethesuggestwasbeingstuckatandfound:HandlingGET/jenkins/search/suggest:…state=RUNNABLEatjava.lang.String$CaseInsensitiveComparator.compare(String.java:1170)atjava.lang.String.compareToIgnoreCase(String.java:1220)athudson.model.User$1.compare(User.java:397)athudson.model.User$1.compare(User.java:395)atjava.util.TimSort.mergeLo(TimSort.java:687)atjava.util.TimSort.mergeAt(TimSort.java:483)atjava.util.TimSort.mergeCollapse(TimSort.java:408)atjava.util.TimSort.sort(TimSort.java:214)atjava.util.TimSort.sort(TimSort.java:173)atjava.util.Arrays.sort(Arrays.java:659)atjava.util.Collections.sort(Collections.java:217)athudson.model.User.getAll(User.java:395)athudson.model.User$FullNameIdResolver.resolveCanonicalId(User.java:735)athudson.model.User.get(User.java:326)athudson.model.User.get(User.java:299)athudson.model.User.get(User.java:354)athudson.model.User.current(User.java:366)athudson.search.UserSearchProperty.isCaseInsensitive(UserSearchProperty.java:26)athudson.search.CollectionSearchIndex.suggest(CollectionSearchIndex.java:61)athudson.search.UnionSearchIndex.suggest(UnionSearchIndex.java:63)athudson.search.UnionSearchIndex.suggest(UnionSearchIndex.java:62)athudson.search.UnionSearchIndex.suggest(UnionSearchIndex.java:62)athudson.search.UnionSearchIndex.suggest(UnionSearchIndex.java:62)athudson.search.UnionSearchIndex.suggest(UnionSearchIndex.java:62)athudson.search.UnionSearchIndex.suggest(UnionSearchIndex.java:63)athudson.search.Search$Mode$2.find(Search.java:192)athudson.search.Search.find(Search.java:343)athudson.search.Search.suggest(Search.java:268)athudson.search.Search.getSuggestions(Search.java:134)athudson.search.Search.doSuggest(Search.java:117) This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [core] (JENKINS-21969) Performance issue with search box
Steven Christou updated JENKINS-21969 Performance issue with search box Change By: Steven Christou (28/Feb/14 1:09 AM) Description: Thecurrentsearchboxisveryinefficientwhencheckingforsuggestions.Whenauserenterspartofausernamewaitingfortheautocompletetofinish,iftherearealotofusersitcantakeaverylongtime.WhilerunningasearchinthesearchboxIranaquickthreaddumptofindoutwherethesuggestwasbeingstuckatandfound: {noformat} HandlingGET/jenkins/search/suggest:…state=RUNNABLEatjava.lang.String$CaseInsensitiveComparator.compare(String.java:1170)atjava.lang.String.compareToIgnoreCase(String.java:1220)athudson.model.User$1.compare(User.java:397)athudson.model.User$1.compare(User.java:395)atjava.util.TimSort.mergeLo(TimSort.java:687)atjava.util.TimSort.mergeAt(TimSort.java:483)atjava.util.TimSort.mergeCollapse(TimSort.java:408)atjava.util.TimSort.sort(TimSort.java:214)atjava.util.TimSort.sort(TimSort.java:173)atjava.util.Arrays.sort(Arrays.java:659)atjava.util.Collections.sort(Collections.java:217)athudson.model.User.getAll(User.java:395)athudson.model.User$FullNameIdResolver.resolveCanonicalId(User.java:735)athudson.model.User.get(User.java:326)athudson.model.User.get(User.java:299)athudson.model.User.get(User.java:354)athudson.model.User.current(User.java:366)athudson.search.UserSearchProperty.isCaseInsensitive(UserSearchProperty.java:26)athudson.search.CollectionSearchIndex.suggest(CollectionSearchIndex.java:61)athudson.search.UnionSearchIndex.suggest(UnionSearchIndex.java:63)athudson.search.UnionSearchIndex.suggest(UnionSearchIndex.java:62)athudson.search.UnionSearchIndex.suggest(UnionSearchIndex.java:62)athudson.search.UnionSearchIndex.suggest(UnionSearchIndex.java:62)athudson.search.UnionSearchIndex.suggest(UnionSearchIndex.java:62)athudson.search.UnionSearchIndex.suggest(UnionSearchIndex.java:63)athudson.search.Search$Mode$2.find(Search.java:192)athudson.search.Search.find(Search.java:343)athudson.search.Search.suggest(Search.java:268)athudson.search.Search.getSuggestions(Search.java:134)athudson.search.Search.doSuggest(Search.java:117) {noformat} This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [core] (JENKINS-21969) Performance issue with search box
Steven Christou commented on JENKINS-21969 Performance issue with search box The fix this issue in https://github.com/jenkinsci/jenkins/pull/1143. We are executing UserSearchProperty.isCaseInsensitive(); once per item which is a very expensive operation because it calls User.current(); which in turn calls a getAll. Instead this fix just calls the UserSearchProperty.isCaseInsensitive(); once and saves the result. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [core] (JENKINS-21969) Performance issue with search box
Steven Christou created JENKINS-21969 Performance issue with search box Issue Type: Bug Affects Versions: current Assignee: Steven Christou Components: core Created: 26/Feb/14 10:42 PM Description: The current search box is very inefficient when checking for suggestions. Project: Jenkins Priority: Major Reporter: Steven Christou This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [core] (JENKINS-21969) Performance issue with search box
Steven Christou updated JENKINS-21969 Performance issue with search box Change By: Steven Christou (26/Feb/14 10:52 PM) Description: Thecurrentsearchboxisveryinefficientwhencheckingforsuggestions. Whenauserenterspartofausernamewaitingfortheautocompletetofinish,iftherearealotofusersitcantakeaverylongtime. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.