Hi, Larunce,
Here is the benchmark script I used:
https://github.com/binpack/binpack-php/blob/master/bench/bench.php
And here is a result:
https://github.com/binpack/binpack-php/wiki/Performance
thanks.
On Jul 7, 2014, at 11:29 PM, Laruence <[email protected]> wrote:
> On Mon, Jul 7, 2014 at 11:27 PM, <[email protected]> wrote:
>> Hi all,
>>
>> I am a developer currently with Alibaba inc. I want to host my extension
>> in php.net. A few weeks ago, I emailed this mail list and was told that my
>> codes needed some improvements because of my non-C89 code style and lacking
>> test case.
>>
>> Since then I have made improvements accordingly and am requesting to
>> publish the extension again. This extension is called BIN PACK. Here is the
>> source code: https://github.com/binpack/binpack-php
>>
>> It’s a binary serialize format. Like JSON, It can be used to transfer
>> data between languages.
>> It’s quite simple. Like JSON, it supports the basic data types: bool /
>> null / int / double / string / blob / list / map.
>> It’s also fast. It may be the fastest serialize implementation in php. It
>> is 25+ % faster than msgpack.
> could you show me the benchmark script you used?
>
> thanks
>>
>> This serialize data format, BIN PACK, is very suitable for RPC. In our
>> company, there are lots of services written in Java and backend API and
>> web page in PHP. BIN PACK is used to exchange data between JAVA and php.
>> It’s simpler and faster than msgpack ; It is self-descritptive, which is
>> quite different from other compression serialize formats such as ProtoBuffer.
>>
>> Listed below are some sites for your information:
>> Here’s my Github: https://github.com/liaohuqiu.
>> StackOverflow: http://stackoverflow.com/users/2446397/srain
>> Blog: http://www.liaohuqiu.net/
>>
>> Thank you for your time.
>>
>> Regards,
>>
>> Huqiu
>>
>> [email protected]
>
>
>
> --
> Laruence Xinchen Hui
> http://www.laruence.com/