{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/9255","labels_url":"https://api.github.com/repos/dart-lang/sdk/issues/9255/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/sdk/issues/9255/comments","events_url":"https://api.github.com/repos/dart-lang/sdk/issues/9255/events","html_url":"https://github.com/dart-lang/sdk/issues/9255","id":84530650,"number":9255,"title":"Boggle solver 2.1X slower on dart2js than Dart VM","user":{"login":"sethladd","id":5479,"avatar_url":"https://avatars.githubusercontent.com/u/5479?v=3","gravatar_id":"","url":"https://api.github.com/users/sethladd","html_url":"https://github.com/sethladd","followers_url":"https://api.github.com/users/sethladd/followers","following_url":"https://api.github.com/users/sethladd/following{/other_user}","gists_url":"https://api.github.com/users/sethladd/gists{/gist_id}","starred_url":"https://api.github.com/users/sethladd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sethladd/subscriptions","organizations_url":"https://api.github.com/users/sethladd/orgs","repos_url":"https://api.github.com/users/sethladd/repos","events_url":"https://api.github.com/users/sethladd/events{/privacy}","received_events_url":"https://api.github.com/users/sethladd/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dart-lang/sdk/labels/area-dart2js","name":"area-dart2js","color":"c7def8"},{"url":"https://api.github.com/repos/dart-lang/sdk/labels/Priority-Medium","name":"Priority-Medium","color":"fbca04"},{"url":"https://api.github.com/repos/dart-lang/sdk/labels/triaged","name":"triaged","color":"ededed"},{"url":"https://api.github.com/repos/dart-lang/sdk/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"hterkelsen","id":1961493,"avatar_url":"https://avatars.githubusercontent.com/u/1961493?v=3","gravatar_id":"","url":"https://api.github.com/users/hterkelsen","html_url":"https://github.com/hterkelsen","followers_url":"https://api.github.com/users/hterkelsen/followers","following_url":"https://api.github.com/users/hterkelsen/following{/other_user}","gists_url":"https://api.github.com/users/hterkelsen/gists{/gist_id}","starred_url":"https://api.github.com/users/hterkelsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hterkelsen/subscriptions","organizations_url":"https://api.github.com/users/hterkelsen/orgs","repos_url":"https://api.github.com/users/hterkelsen/repos","events_url":"https://api.github.com/users/hterkelsen/events{/privacy}","received_events_url":"https://api.github.com/users/hterkelsen/received_events","type":"User","site_admin":false},"milestone":null,"comments":15,"created_at":"2013-03-19T00:51:49Z","updated_at":"2015-12-08T18:59:39Z","closed_at":null,"body":"Hi,\n\nI hope this is a useful and real-life benchmark for the dart2js. I ported this to Dart and JavaScript, trying very hard to be line-by-line accurate. On my MBP, here are the times that I get:\n\n(note: all times are averaged over 5 runs, each run loads, parses, and solves. This is the &quot;cold start&quot; test)\n\nV8 + JS:\n&nbsp;&nbsp;parse the dictionary: 275ms \n&nbsp;&nbsp;solve: 0.75ms\n\nV8 + dart2js:\n&nbsp;&nbsp;parse the dictionary: 700ms\n&nbsp;&nbsp;solve: 5ms\n\nDart VM + Dart + Dartium:\n&nbsp;&nbsp;parse the dictionary: 5000ms  (?!?)\n&nbsp;&nbsp;solve: 1.5ms\n\nTimings were derived with window.performance.now()\n\nDictionary has something like 17k words in it. The board is a classic 4x4 matrix.\n\nYou can find this code here:\n\nDart Solver: https://github.com/johnmccutchan/tilebasedwordsearch/blob/master/lib/solver.dart\nDart Trie: https://github.com/johnmccutchan/tilebasedwordsearch/blob/master/lib/trie.dart\nDart HTML file: https://github.com/johnmccutchan/tilebasedwordsearch/blob/master/web/solver/solver.html\nDart HTML script: https://github.com/johnmccutchan/tilebasedwordsearch/blob/master/web/solver/solver.dart\n\nJS Solver: https://github.com/johnmccutchan/tilebasedwordsearch/blob/master/web/solver/solver.js\nJS HTML file: https://github.com/johnmccutchan/tilebasedwordsearch/blob/master/web/solver/solver_js.html\n\nTo get the exact code as I tested it, get the tree at \nhttps://github.com/johnmccutchan/tilebasedwordsearch/tree/f42057320f958e0932ed3c9403c8c6752aa24ce9\n\n\n(interestingly, the VM takes much longer to parse the dictionary file, but I think that's a separate bug)"},"comment":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/comments/162982214","html_url":"https://github.com/dart-lang/sdk/issues/9255#issuecomment-162982214","issue_url":"https://api.github.com/repos/dart-lang/sdk/issues/9255","id":162982214,"user":{"login":"hterkelsen","id":1961493,"avatar_url":"https://avatars.githubusercontent.com/u/1961493?v=3","gravatar_id":"","url":"https://api.github.com/users/hterkelsen","html_url":"https://github.com/hterkelsen","followers_url":"https://api.github.com/users/hterkelsen/followers","following_url":"https://api.github.com/users/hterkelsen/following{/other_user}","gists_url":"https://api.github.com/users/hterkelsen/gists{/gist_id}","starred_url":"https://api.github.com/users/hterkelsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hterkelsen/subscriptions","organizations_url":"https://api.github.com/users/hterkelsen/orgs","repos_url":"https://api.github.com/users/hterkelsen/repos","events_url":"https://api.github.com/users/hterkelsen/events{/privacy}","received_events_url":"https://api.github.com/users/hterkelsen/received_events","type":"User","site_admin":false},"created_at":"2015-12-08T18:59:39Z","updated_at":"2015-12-08T18:59:39Z","body":"Yes, I have not enabled ES6 maps for Maps with identity-hashcode keys"}}