I'm curious if anyone has tried pyglet on PyPy 1.6.
I tried it on an older version about a year ago, and while it worked,
it was very slow. I was told this was due to the way PyPy handled
ctypes.
I see that the latest version says: "fast ctypes: now calls to
ctypes functions are seen and optimized by the JIT, and they are up to
60 times faster than PyPy 1.5 and 10 times faster than CPython"
Unfortunately, I'm running windows, and the PyPy windows build does
not work for me.
Has anyone played around with PyPy and benchmarked pyglet on it?
> I'm curious if anyone has tried pyglet on PyPy 1.6.
> I tried it on an older version about a year ago, and while it worked,
> it was very slow. I was told this was due to the way PyPy handled
> ctypes.
> I see that the latest version says: "fast ctypes: now calls to
> ctypes functions are seen and optimized by the JIT, and they are up to
> 60 times faster than PyPy 1.5 and 10 times faster than CPython"
> Unfortunately, I'm running windows, and the PyPy windows build does
> not work for me.
> Has anyone played around with PyPy and benchmarked pyglet on it?
> On Oct 28, 3:40 pm, Chuck <chuck.may...@gmail.com> wrote: > > I'm curious if anyone has tried pyglet on PyPy 1.6.
> > I tried it on an older version about a year ago, and while it worked, > > it was very slow. I was told this was due to the way PyPy handled > > ctypes.
> > I see that the latest version says: "fast ctypes: now calls to > > ctypes functions are seen and optimized by the JIT, and they are up to > > 60 times faster than PyPy 1.5 and 10 times faster than CPython"
> > Unfortunately, I'm running windows, and the PyPy windows build does > > not work for me.
> > Has anyone played around with PyPy and benchmarked pyglet on it?
> -- > You received this message because you are subscribed to the Google Groups > "pyglet-users" group. > To post to this group, send email to pyglet-users@googlegroups.com. > To unsubscribe from this group, send email to > pyglet-users+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/pyglet-users?hl=en.
In my experience (Ubuntu 64, SVN pyglet), PyPy was about 50% faster
fps than CPython.
However, it has a very inconsistent framerate, and would spontaneously
and momentarily drop to extremely, extremely low framerates (my
suspicion is that it is related to garbage collection).
Also, lots and lots of warnings about stuff (mostly ctypes).
On Oct 28, 4:29 pm, Bruce Smith <ores...@gmail.com> wrote:
> On Fri, Oct 28, 2011 at 3:33 PM, Steve <dior...@gmail.com> wrote:
> > My brief tests showed moderate speed improvements and good
> > compatibility.
> Which OS, pyglet version, and Python version was that for?
> - Bruce Smith
> > On Oct 28, 3:40 pm, Chuck <chuck.may...@gmail.com> wrote:
> > > I'm curious if anyone has tried pyglet on PyPy 1.6.
> > > I tried it on an older version about a year ago, and while it worked,
> > > it was very slow. I was told this was due to the way PyPy handled
> > > ctypes.
> > > I see that the latest version says: "fast ctypes: now calls to
> > > ctypes functions are seen and optimized by the JIT, and they are up to
> > > 60 times faster than PyPy 1.5 and 10 times faster than CPython"
> > > Unfortunately, I'm running windows, and the PyPy windows build does
> > > not work for me.
> > > Has anyone played around with PyPy and benchmarked pyglet on it?
> > --
> > You received this message because you are subscribed to the Google Groups
> > "pyglet-users" group.
> > To post to this group, send email to pyglet-users@googlegroups.com.
> > To unsubscribe from this group, send email to
> > pyglet-users+unsubscribe@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/pyglet-users?hl=en.
> > On Oct 28, 3:40 pm, Chuck <chuck.may...@gmail.com> wrote:
> > > I'm curious if anyone has tried pyglet on PyPy 1.6.
> > > I tried it on an older version about a year ago, and while it worked,
> > > it was very slow. I was told this was due to the way PyPy handled
> > > ctypes.
> > > I see that the latest version says: "fast ctypes: now calls to
> > > ctypes functions are seen and optimized by the JIT, and they are up to
> > > 60 times faster than PyPy 1.5 and 10 times faster than CPython"
> > > Unfortunately, I'm running windows, and the PyPy windows build does
> > > not work for me.
> > > Has anyone played around with PyPy and benchmarked pyglet on it?
> > --
> > You received this message because you are subscribed to the Google Groups
> > "pyglet-users" group.
> > To post to this group, send email to pyglet-users@googlegroups.com.
> > To unsubscribe from this group, send email to
> > pyglet-users+unsubscribe@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/pyglet-users?hl=en.
>> Which OS, pyglet version, and Python version was that for?
> Sorry for leaving out those important details. I was on my phone.
> This was Mac OS X 10.7.1, pyglet 1.1.4, Python 2.7. Similar results as > hedgie.
> -Steve Johnson
>> - Bruce Smith
>> > On Oct 28, 3:40 pm, Chuck <chuck.may...@gmail.com> wrote: >> > > I'm curious if anyone has tried pyglet on PyPy 1.6.
>> > > I tried it on an older version about a year ago, and while it worked, >> > > it was very slow. I was told this was due to the way PyPy handled >> > > ctypes.
>> > > I see that the latest version says: "fast ctypes: now calls to >> > > ctypes functions are seen and optimized by the JIT, and they are up to >> > > 60 times faster than PyPy 1.5 and 10 times faster than CPython"
>> > > Unfortunately, I'm running windows, and the PyPy windows build does >> > > not work for me.
>> > > Has anyone played around with PyPy and benchmarked pyglet on it?
>> > -- >> > You received this message because you are subscribed to the Google Groups >> > "pyglet-users" group. >> > To post to this group, send email to pyglet-users@googlegroups.com. >> > To unsubscribe from this group, send email to >> > pyglet-users+unsubscribe@googlegroups.com. >> > For more options, visit this group at >> >http://groups.google.com/group/pyglet-users?hl=en.
> -- > You received this message because you are subscribed to the Google Groups "pyglet-users" group. > To post to this group, send email to pyglet-users@googlegroups.com. > To unsubscribe from this group, send email to pyglet-users+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en.
Please create bug reports on the pypy issue tracker https://bugs.pypy.org/. They are working on a better gc for these workloads and having use cases can help push people to finish it for pypy 1.7