{"action":"created","issue":{"url":"https://api.github.com/repos/goldendict/goldendict/issues/640","labels_url":"https://api.github.com/repos/goldendict/goldendict/issues/640/labels{/name}","comments_url":"https://api.github.com/repos/goldendict/goldendict/issues/640/comments","events_url":"https://api.github.com/repos/goldendict/goldendict/issues/640/events","html_url":"https://github.com/goldendict/goldendict/issues/640","id":113179954,"number":640,"title":"GoldenDict always fully occupies 1 CPU core","user":{"login":"d0vgan","id":2848457,"avatar_url":"https://avatars.githubusercontent.com/u/2848457?v=3","gravatar_id":"","url":"https://api.github.com/users/d0vgan","html_url":"https://github.com/d0vgan","followers_url":"https://api.github.com/users/d0vgan/followers","following_url":"https://api.github.com/users/d0vgan/following{/other_user}","gists_url":"https://api.github.com/users/d0vgan/gists{/gist_id}","starred_url":"https://api.github.com/users/d0vgan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d0vgan/subscriptions","organizations_url":"https://api.github.com/users/d0vgan/orgs","repos_url":"https://api.github.com/users/d0vgan/repos","events_url":"https://api.github.com/users/d0vgan/events{/privacy}","received_events_url":"https://api.github.com/users/d0vgan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-24T19:55:16Z","updated_at":"2015-10-24T20:19:36Z","closed_at":null,"body":"Checked with:\r\n- GoldenDict 1.5.0.496 and 1.5.0.482;\r\n- Windows 7 32-bit and Windows 8.1 64-bit.\r\n\r\nSteps to reproduce:\r\n- create a new (empty) folder.\r\n- extract \"GoldenDict-1.5.0-RC-496-g8ac7edd_(QT_486)(Abs62).7z\" into that folder.\r\n- place several dictionaries into the \"content\" subfolder. Just for reference, I have:\r\n...\\content\\en-en\\\r\nEn-En-Longman_DOCE5.ann\r\nEn-En-Longman_DOCE5.bmp\r\nEn-En-Longman_DOCE5.dsl.dz\r\nOxfordDictionaryEnEn.ann\r\nOxfordDictionaryEnEn.bmp\r\nOxfordDictionaryEnEn.dsl.dz\r\n- start GoldenDict.exe.\r\n\r\nIt is expected that it fully occupies 1 CPU core while creating its dictionary index.\r\nWhat is unexpected that it fully occupies 1 CPU core even after the dictionary index has been created, and even after GoldenDict.exe is restarted!\r\n\r\nIn the same time, when GoldenDict's settings window is shown, the process occupies less than 1% of the 1 CPU core. But once GoldenDict's main window is shown again, it occupies 100% of the 1 CPU core! (Thus, in 2-core CPU you get 50% total CPU usage, and in 4-core CPU you get 25% total CPU usage.) This happens without any user actions, when GoldenDict is expected to wait for user input."},"comment":{"url":"https://api.github.com/repos/goldendict/goldendict/issues/comments/150847517","html_url":"https://github.com/goldendict/goldendict/issues/640#issuecomment-150847517","issue_url":"https://api.github.com/repos/goldendict/goldendict/issues/640","id":150847517,"user":{"login":"Abs62","id":837578,"avatar_url":"https://avatars.githubusercontent.com/u/837578?v=3","gravatar_id":"","url":"https://api.github.com/users/Abs62","html_url":"https://github.com/Abs62","followers_url":"https://api.github.com/users/Abs62/followers","following_url":"https://api.github.com/users/Abs62/following{/other_user}","gists_url":"https://api.github.com/users/Abs62/gists{/gist_id}","starred_url":"https://api.github.com/users/Abs62/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Abs62/subscriptions","organizations_url":"https://api.github.com/users/Abs62/orgs","repos_url":"https://api.github.com/users/Abs62/repos","events_url":"https://api.github.com/users/Abs62/events{/privacy}","received_events_url":"https://api.github.com/users/Abs62/received_events","type":"User","site_admin":false},"created_at":"2015-10-24T20:19:36Z","updated_at":"2015-10-24T20:19:36Z","body":"Have you read GD help about full-text search? It is FTS indexing process. Indexing statistic you can see in full-text search dialog."}}