[pypy-dev] performance problems with Krakatau

Robert Grosse n210241048576 at gmail.com
Wed Jan 15 19:20:16 CET 2014


Oh sorry, I forgot about that.

You need to find the rt.jar from your Java installation and pass the path
on the command line. For example, if it's located in C:\Program
Files\Java\jre7\lib, you could do
python -i Krakatau\decompile.py -out temp asm-debug-all-4.1.jar -path
"C:\Program Files\Java\jre7\lib\rt.jar"
Obviously on Linux it will be somewhere else. It shouldn't really matter
which version of Java you have since the standard library is pretty stable..




On Wed, Jan 15, 2014 at 11:34 AM, Maciej Fijalkowski <fijall at gmail.com>wrote:

> On Wed, Jan 15, 2014 at 3:21 PM, Robert Grosse <n210241048576 at gmail.com>
> wrote:
> > I've uploaded it to Mediafire. If that doesn't work, I can find some
> other
> > place.
> > https://www.mediafire.com/?eylpn794d9peu19
> >
> > Included is the jar I used for the tests, a diff against the current head
> > and instructions. The diff just removes the deleteUnused call, which I
> > thought might skew results, and changes it to only decompile 1/4 of the
> > files so it doesn't take as long.
> >
> > Instructions:
> > Make sure python 2.7 is installed
> >
> > clone and checkout commit b0929533ffa0bb2b6b5bb55fc4f38da2ab85a870 from
> > https://github.com/Storyyeller/Krakatau.git
> > apply diff (this should just change two lines in decompile.py)
> >
> > create a directory named temp
> >
> > Assuming you cloned Krakatau to the directory Krakatau and the asm jar
> is in
> > the current directory, run
> > python -i Krakatau\decompile.py -out temp asm-debug-all-4.1.jar
> >
> > For pypy, it would of course instead be
> > pypy -i Krakatau\decompile.py -out temp asm-debug-all-4.1.jar
> >
> >
> > On Wed, Jan 15, 2014 at 9:02 AM, Maciej Fijalkowski <fijall at gmail.com>
> > wrote:
> >>
> >> On Wed, Jan 15, 2014 at 2:56 PM, Robert Grosse <n210241048576 at gmail.com
> >
> >> wrote:
> >> > What would be the best way to provide this?
> >>
> >> link to download would work. If you don't have a hosting space, just
> >> send it to me privately in email, I'll put it somewhere (or use
> >> dropbox or whatever). *Clear* instructions are crucial though, don't
> >> assume we know how to install or use a random package.
> >>
> >> Cheers,
> >> fijal
> >
> >
>
> hey, I get ClassNotFoundException: java/lang/Object, full traceback
> http://paste.pound-python.org/show/n5D7PDoyegfohmJFKOnu/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20140115/e26d3bb1/attachment.html>


More information about the pypy-dev mailing list