{"action":"created","issue":{"url":"https://api.github.com/repos/tdewolff/minify/issues/38","labels_url":"https://api.github.com/repos/tdewolff/minify/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/tdewolff/minify/issues/38/comments","events_url":"https://api.github.com/repos/tdewolff/minify/issues/38/events","html_url":"https://github.com/tdewolff/minify/issues/38","id":100898378,"number":38,"title":"Experiment with concurrency","user":{"login":"tdewolff","id":5563166,"avatar_url":"https://avatars.githubusercontent.com/u/5563166?v=3","gravatar_id":"","url":"https://api.github.com/users/tdewolff","html_url":"https://github.com/tdewolff","followers_url":"https://api.github.com/users/tdewolff/followers","following_url":"https://api.github.com/users/tdewolff/following{/other_user}","gists_url":"https://api.github.com/users/tdewolff/gists{/gist_id}","starred_url":"https://api.github.com/users/tdewolff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tdewolff/subscriptions","organizations_url":"https://api.github.com/users/tdewolff/orgs","repos_url":"https://api.github.com/users/tdewolff/repos","events_url":"https://api.github.com/users/tdewolff/events{/privacy}","received_events_url":"https://api.github.com/users/tdewolff/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tdewolff/minify/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-14T00:11:13Z","updated_at":"2015-11-13T00:05:19Z","closed_at":"2015-11-13T00:05:19Z","body":"Try to run the lexer and parser concurrently. This means all data must be copied and the channels give overhead, so this might or might not give an actual speed up. Make sure to set `GOMAXPROCS`."},"comment":{"url":"https://api.github.com/repos/tdewolff/minify/issues/comments/156276065","html_url":"https://github.com/tdewolff/minify/issues/38#issuecomment-156276065","issue_url":"https://api.github.com/repos/tdewolff/minify/issues/38","id":156276065,"user":{"login":"tdewolff","id":5563166,"avatar_url":"https://avatars.githubusercontent.com/u/5563166?v=3","gravatar_id":"","url":"https://api.github.com/users/tdewolff","html_url":"https://github.com/tdewolff","followers_url":"https://api.github.com/users/tdewolff/followers","following_url":"https://api.github.com/users/tdewolff/following{/other_user}","gists_url":"https://api.github.com/users/tdewolff/gists{/gist_id}","starred_url":"https://api.github.com/users/tdewolff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tdewolff/subscriptions","organizations_url":"https://api.github.com/users/tdewolff/orgs","repos_url":"https://api.github.com/users/tdewolff/repos","events_url":"https://api.github.com/users/tdewolff/events{/privacy}","received_events_url":"https://api.github.com/users/tdewolff/received_events","type":"User","site_admin":false},"created_at":"2015-11-13T00:05:19Z","updated_at":"2015-11-13T00:05:19Z","body":"No, the overhead is too big and the lexer and parser/minifier are too tightly intertwined, leaving little time between synchronizations to run parallel. Channels were particularly slow, but an atomic alternative was still not performant."}}