{"action":"created","issue":{"url":"https://api.github.com/repos/jmockit/jmockit1/issues/143","labels_url":"https://api.github.com/repos/jmockit/jmockit1/issues/143/labels{/name}","comments_url":"https://api.github.com/repos/jmockit/jmockit1/issues/143/comments","events_url":"https://api.github.com/repos/jmockit/jmockit1/issues/143/events","html_url":"https://github.com/jmockit/jmockit1/issues/143","id":58330533,"number":143,"title":"2-3x slowdown when using Java8 compared to Java7","user":{"login":"jevring","id":11088499,"avatar_url":"https://avatars.githubusercontent.com/u/11088499?v=3","gravatar_id":"","url":"https://api.github.com/users/jevring","html_url":"https://github.com/jevring","followers_url":"https://api.github.com/users/jevring/followers","following_url":"https://api.github.com/users/jevring/following{/other_user}","gists_url":"https://api.github.com/users/jevring/gists{/gist_id}","starred_url":"https://api.github.com/users/jevring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jevring/subscriptions","organizations_url":"https://api.github.com/users/jevring/orgs","repos_url":"https://api.github.com/users/jevring/repos","events_url":"https://api.github.com/users/jevring/events{/privacy}","received_events_url":"https://api.github.com/users/jevring/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jmockit/jmockit1/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-20T09:58:49Z","updated_at":"2015-02-20T14:29:56Z","closed_at":null,"body":"I have a set of unit tests (jUnit 4.12) that use jmockit (1.15), and I build via maven (3.2.5). When I build these with java 7 it takes just under 3 minutes. When I build with java 8 it takes around 8 minutes. Looking at jvisualvm samples (I'm not allowed to use the profiler, for some reason, with jmockit), it would seem that the problem is with the redefinition of the classes, which dives into the ASM code."},"comment":{"url":"https://api.github.com/repos/jmockit/jmockit1/issues/comments/75246075","html_url":"https://github.com/jmockit/jmockit1/issues/143#issuecomment-75246075","issue_url":"https://api.github.com/repos/jmockit/jmockit1/issues/143","id":75246075,"user":{"login":"rliesenfeld","id":200378,"avatar_url":"https://avatars.githubusercontent.com/u/200378?v=3","gravatar_id":"","url":"https://api.github.com/users/rliesenfeld","html_url":"https://github.com/rliesenfeld","followers_url":"https://api.github.com/users/rliesenfeld/followers","following_url":"https://api.github.com/users/rliesenfeld/following{/other_user}","gists_url":"https://api.github.com/users/rliesenfeld/gists{/gist_id}","starred_url":"https://api.github.com/users/rliesenfeld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rliesenfeld/subscriptions","organizations_url":"https://api.github.com/users/rliesenfeld/orgs","repos_url":"https://api.github.com/users/rliesenfeld/repos","events_url":"https://api.github.com/users/rliesenfeld/events{/privacy}","received_events_url":"https://api.github.com/users/rliesenfeld/received_events","type":"User","site_admin":false},"created_at":"2015-02-20T14:29:56Z","updated_at":"2015-02-20T14:29:56Z","body":"As answered in the JMockit Users mailing list (https://groups.google.com/forum/#!forum/jmockit-users):\r\n\r\nHere is what I see, when running JMockit's own test suite (JUnit 4.12), with nearly 1400 tests:\r\n\r\nJDK 1.8.0_31: 22s\r\nJDK 1.7.0_75: 21s\r\nJDK 1.6.0_45: 19s\r\n\r\nTimes above as reported by IntelliJ IDEA 14.0.2, on Windows 7. Multiple executions with each JDK were performed, all else being equal.\r\n\r\nAs you can see, there isn't much difference (about 1s = 4.8%) going from JDK 1.7 to 1.8, and it is even smaller than the difference from JDK 1.6 to 1.7 (about 2s = 10.5%)."}}