Re: [protobuf] Re: Protocol buffers performance in python

2010-03-12 Thread Kenton Varda
The work is going slowly because the Python C extension API has lots of
subtle quirks.  The good news is that Google has Python implementation
experts who are reviewing the code.  But this is "20% work" for everyone
involved (i.e. not their real jobs) so it will take awhile.

My hope is that we'll be able to release it in a couple months.

On Thu, Mar 11, 2010 at 3:28 AM, achepikau  wrote:

> Hi, Kenton
>
> I am using Python Protobuffers library as exchange format between game
> client (C++ Windows application) and game server (Python socket server
> based on Twisted framework).
> After upgrade from 2.0.1 to 2.3.0 we got 4x-6x performance boost
> (python 2.5.2, Ubuntu 8.04) - it's great!
> Do you know about Petar's timeline for the new version with more power
> for Python code?
>
> On Jan 20, 10:45 pm, Kenton Varda  wrote:
> > In 2.3.0, the Python implementation is now 10x-25x faster than it used to
> > be.  However, as the implementation is pure-python, it is still much
> slower
> > than C++.  Petar (author of much of the Python code) is currently working
> on
> > a version of the Python implementation which wraps the C++ library in the
> > hope of improving this further.
> >
> > On Wed, Jan 20, 2010 at 5:04 AM, Baruch Oxman  >wrote:
> >
> > > Hi !
> >
> > > I'm interested in using Protocol buffers for serialization of data
> > > passed between Python and C++ processes.
> > > I've seen some posts on performance comparison of different python
> > > serializes, saying that the performance of google protocols
> > > implementation for python is much worse than in C++.
> >
> > > Was any work done on this recently to improve the performance on
> > > python ?
> > > Is such work planned in the future ?
> >
> > > --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Protocol Buffers" group.
> > > To post to this group, send email to proto...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > protobuf+unsubscr...@googlegroups.com
> 
> >
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/protobuf?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Protocol Buffers" group.
> To post to this group, send email to proto...@googlegroups.com.
> To unsubscribe from this group, send email to
> protobuf+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/protobuf?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to proto...@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.



[protobuf] Re: Protocol buffers performance in python

2010-03-11 Thread achepikau
Hi, Kenton

I am using Python Protobuffers library as exchange format between game
client (C++ Windows application) and game server (Python socket server
based on Twisted framework).
After upgrade from 2.0.1 to 2.3.0 we got 4x-6x performance boost
(python 2.5.2, Ubuntu 8.04) - it's great!
Do you know about Petar's timeline for the new version with more power
for Python code?

On Jan 20, 10:45 pm, Kenton Varda  wrote:
> In 2.3.0, the Python implementation is now 10x-25x faster than it used to
> be.  However, as the implementation is pure-python, it is still much slower
> than C++.  Petar (author of much of the Python code) is currently working on
> a version of the Python implementation which wraps the C++ library in the
> hope of improving this further.
>
> On Wed, Jan 20, 2010 at 5:04 AM, Baruch Oxman wrote:
>
> > Hi !
>
> > I'm interested in using Protocol buffers for serialization of data
> > passed between Python and C++ processes.
> > I've seen some posts on performance comparison of different python
> > serializes, saying that the performance of google protocols
> > implementation for python is much worse than in C++.
>
> > Was any work done on this recently to improve the performance on
> > python ?
> > Is such work planned in the future ?
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Protocol Buffers" group.
> > To post to this group, send email to proto...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > protobuf+unsubscr...@googlegroups.com
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/protobuf?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to proto...@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.