{"action":"closed","issue":{"url":"https://api.github.com/repos/django-compressor/django-compressor/issues/753","repository_url":"https://api.github.com/repos/django-compressor/django-compressor","labels_url":"https://api.github.com/repos/django-compressor/django-compressor/issues/753/labels{/name}","comments_url":"https://api.github.com/repos/django-compressor/django-compressor/issues/753/comments","events_url":"https://api.github.com/repos/django-compressor/django-compressor/issues/753/events","html_url":"https://github.com/django-compressor/django-compressor/issues/753","id":144495303,"number":753,"title":"High CPU usage when using compress command","user":{"login":"vikasgulati","id":1867142,"avatar_url":"https://avatars.githubusercontent.com/u/1867142?v=3","gravatar_id":"","url":"https://api.github.com/users/vikasgulati","html_url":"https://github.com/vikasgulati","followers_url":"https://api.github.com/users/vikasgulati/followers","following_url":"https://api.github.com/users/vikasgulati/following{/other_user}","gists_url":"https://api.github.com/users/vikasgulati/gists{/gist_id}","starred_url":"https://api.github.com/users/vikasgulati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vikasgulati/subscriptions","organizations_url":"https://api.github.com/users/vikasgulati/orgs","repos_url":"https://api.github.com/users/vikasgulati/repos","events_url":"https://api.github.com/users/vikasgulati/events{/privacy}","received_events_url":"https://api.github.com/users/vikasgulati/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-30T07:57:33Z","updated_at":"2016-03-30T08:49:24Z","closed_at":"2016-03-30T08:49:24Z","body":"CPU usage goes as high 85-90% on my MacbookPro when using compress command\r\n\r\nLaptop Configuration & Library versions\r\n\r\n- 2.7 GHz Intel Core i5\r\n- 8GB 1867 MHz DDR3 RAM\r\n- Django compressor 1.5\r\n- Django 1.8.3\r\n\r\nIs there any relevant gotcha/performance consideration w.r.t. compress command that I might be missing?\r\nIt this normal?\r\nAny workarounds?\r\n\r\nRan CProfile along with gprofdot to analyze what method is taking longer.\r\n\r\nPasting a snapshot of the same below: (This is a trimmed snapshot with only the method that take longer than 5%)\r\n\r\n![output_compress_trimmed](https://cloud.githubusercontent.com/assets/1867142/14135425/fdf3510a-f67a-11e5-9e61-d8e7528e9972.png)\r\n"}}