m6w6
Repos
73
Followers
71
Following
75

Resurrection of libmemcached

27
5

PHP extension for Amazon ION

C
6
2

Distribute your PHP extension as self-installing phar executable

57
1

Extended HTTP Support

C
70
21

PostgreSQL client library (libpq) binding

C
34
8

Always Populate Form Data

19
2

Events

Memcached::setMulti() should use the setmulti functionality of memcached library

My memory might be rusty, but there's no such functionality in the library AFAIR.

Created at 4 days ago
CVE-2022-26635

This should not be a CVE against php-memcached, but for whatever software the issue was actually found in. php-memcached and libmemcached provide a VERIFY_KEY flag if they're too lazy to filter untrusted user input.

Created at 4 days ago
issue comment
[Question] Multiple thread sets, iops are executed unchanged

I'm sorry. Please rephrase your question and provide actually working code. Thanks.

Created at 4 days ago
closed issue
MsgPack TS non TS fail

Hello

I know this isn't a support forum but I'm at the end, can't seem to find a solution no matter what I try.

I've tried setting up MsgPack on my local machine (Windows 10 , PHP 8.1.9) I've downloaded multiple versions of the DLL from https://pecl.php.net/package/msgpack/2.1.2/windows

But no matter which I try (TS, no-TS, x86 , x64 ...) I always get an error trying to execute a PHP script.

PHP Warning: PHP Startup: Unable to load dynamic library 'php_msgpack.dll' (tried: ext\php_msgpack.dll (The specified module could not be found), ext\php_php_msgpack.dll.dll (The specified module could not be found)) in Unknown on line 0

If there's anybody with a golden tip, I'd appreciate it soo much!

Created at 5 days ago
issue comment
MsgPack TS non TS fail

Not sure, but reading your initial comment again, I noticed you're running 8.1 and probably downloaded the extension for 8.0.

Try the 8.1 from here: https://windows.php.net/downloads/pecl/releases/msgpack/2.2.0rc1/

Created at 5 days ago
issue comment
MsgPack TS non TS fail

I can't really help on Windows, but here are some hints anyway: The error message says it cannot find the file "php_msgpack.dll", so:

  • Is the file name right?
  • Do you load other extensions dynamically?
  • Where are they located?
  • Is the msgpack extension in the same directory?
Created at 5 days ago
issue comment
allow dynamic properties in Pq\Connection

Thanks Remi; gotta look into this. I'd prefer to /not/ allow dynamic properties, but I'll have to investigate...

Created at 3 weeks ago
issue comment
add __ARM_NEON support

Benchmark on C6g.4xlarge

Interestingly, and kind of disappointing, benchmarks on a C6g Graviton2 instance with 16 CPU cores does not show any measurable gains in throughput with the lepton benchmarks.

A perf diff of lepton-scalar and lepton (neon) shows that there’s little difference at all:

# Event 'cycles'
#
# Baseline  Delta Abs  Shared Object              Symbol                                                                                                      
#
    12.15%     -7.82%  lepton                     [.] serialize_tokens<true, (BlockType)0, VPXBoolWriter>
    10.43%     +7.36%  lepton                     [.] VPXBoolWriter::put
     4.95%     -4.95%  lepton                     [.] idct
               +4.55%  lepton                     [.] idct_neon
    15.85%     -1.81%  lepton                     [.] parse_tokens<true, (BlockType)0, VPXBoolReader>
     0.13%     +1.16%  lepton                     [.] set_branch_range_identity
     4.57%     +0.69%  lepton                     [.] decode_one_edge<true, (BlockType)0, false, VPXBoolReader>
     0.05%     +0.52%  lepton                     [.] AlignedBlock::coefficients_raster
               +0.47%  lepton                     [.] NeighborSummary::set_vertical
     4.02%     +0.42%  lepton                     [.] encode_one_edge<true, (BlockType)0, true, VPXBoolWriter>
     3.47%     +0.38%  lepton                     [.] encode_one_edge<true, (BlockType)0, false, VPXBoolWriter>
     4.60%     -0.29%  lepton                     [.] encode_block_seq
     0.40%     -0.26%  lepton                     [.] serialize_tokens<false, (BlockType)0, VPXBoolWriter>
     3.42%     +0.15%  lepton                     [.] Branch::record_obs_and_update
     0.44%     -0.15%  lepton                     [.] serialize_tokens<true, (BlockType)2, VPXBoolWriter>
     0.43%     -0.13%  lepton                     [.] serialize_tokens<true, (BlockType)1, VPXBoolWriter>
     8.22%     -0.09%  lepton                     [.] decode_block_seq
     5.87%     +0.08%  lepton                     [.] decode_one_edge<true, (BlockType)0, true, VPXBoolReader>
     0.28%     -0.07%  lepton                     [.] encode_one_edge<true, (BlockType)1, true, VPXBoolWriter>
     1.13%     +0.06%  lepton                     [.] recode_one_mcu_row<Sirikata::BoundedMemWriter>
     0.64%     -0.06%  lepton                     [.] parse_tokens<true, (BlockType)1, VPXBoolReader>
     0.66%     -0.05%  lepton                     [.] parse_tokens<true, (BlockType)2, VPXBoolReader>
     0.53%     -0.05%  lepton                     [.] parse_tokens<false, (BlockType)0, VPXBoolReader>
     2.59%     -0.03%  lepton                     [.] VP8ComponentEncoder<VPXBoolReader>::process_row<Prob…
     0.18%     -0.03%  lepton                     [.] escape_0xff_huffman_and_write<Sirikata::BoundedMemWriter>
     0.21%     +0.03%  lepton                     [.] encode_one_edge<true, (BlockType)1, false, VPXBoolWriter>
     0.03%     -0.03%  libc-2.27.so               [.] memchr
Created at 1 month ago

align duplicate impl of aligned_memchr16ff

fix data input mixup in adv_predict_dc_pix()

Created at 1 month ago
issue comment
add __ARM_NEON support

Also, while 100% restoring e.g. hq.jpg, its .lep vastly differs from that of lepton-scalar and is about 1k bigger.

Created at 1 month ago
issue comment
add __ARM_NEON support

Performance gain is not huge currently, bot most of the instructions are just literally translated, yet, and not iterated upon.

lepton{,-scalar} -benchmark results on an M1 mini (2020):

lepton-scalar                                                                   lepton (neon)                                                            
BENCHMARK: 16 trials                                                            BENCHMARK: 16 trials                                                            
 217.37ms ( 90.87Mbit/s) : Verified encode                                       212.32ms ( 93.04Mbit/s) : Verified encode                                      
 156.15ms (126.50Mbit/s) : Unverified encode                                     156.51ms (126.21Mbit/s) : Unverified encode                                    
  63.80ms (309.60Mbit/s) : decode                                                 61.57ms (320.82Mbit/s) : decode                                               
 609.13ms ( 32.43Mbit/s) : Single threaded Verified encode                       600.13ms ( 32.92Mbit/s) : Single threaded Verified encode                      
 328.37ms ( 60.15Mbit/s) : Single threaded Unverified encode                     324.12ms ( 60.94Mbit/s) : Single threaded Unverified encode                    
 283.65ms ( 69.64Mbit/s) : Single threaded decode                                277.37ms ( 71.22Mbit/s) : Single threaded decode                               
 304.66ms ( 64.84Mbit/s) : Loaded 2 Verified encode                              292.47ms ( 67.54Mbit/s) : Loaded 2 Verified encode                             
 203.42ms ( 97.10Mbit/s) : Loaded 2 Unverified encode                            196.53ms (100.51Mbit/s) : Loaded 2 Unverified encode                           
 107.45ms (183.84Mbit/s) : Loaded 2 decode                                       110.84ms (178.21Mbit/s) : Loaded 2 decode                                      
 491.56ms ( 40.18Mbit/s) : Loaded 4 Verified encode                              488.95ms ( 40.40Mbit/s) : Loaded 4 Verified encode                             
 288.03ms ( 68.58Mbit/s) : Loaded 4 Unverified encode                            286.09ms ( 69.04Mbit/s) : Loaded 4 Unverified encode                           
 223.50ms ( 88.38Mbit/s) : Loaded 4 decode                                       213.59ms ( 92.48Mbit/s) : Loaded 4 decode                                      
 669.68ms ( 29.50Mbit/s) : Loaded 6 Verified encode                              690.89ms ( 28.59Mbit/s) : Loaded 6 Verified encode                             
 394.21ms ( 50.11Mbit/s) : Loaded 6 Unverified encode                            393.49ms ( 50.20Mbit/s) : Loaded 6 Unverified encode                           
 322.71ms ( 61.21Mbit/s) : Loaded 6 decode                                       313.99ms ( 62.91Mbit/s) : Loaded 6 decode                                      
 935.54ms ( 21.11Mbit/s) : Loaded 8 Verified encode                              890.26ms ( 22.19Mbit/s) : Loaded 8 Verified encode                             
 498.29ms ( 39.64Mbit/s) : Loaded 8 Unverified encode                            498.52ms ( 39.62Mbit/s) : Loaded 8 Unverified encode                           
 445.81ms ( 44.31Mbit/s) : Loaded 8 decode                                       417.14ms ( 47.35Mbit/s) : Loaded 8 decode                                      
1425.39ms ( 13.86Mbit/s) : Loaded 12 Verified encode                            1377.82ms ( 14.34Mbit/s) : Loaded 12 Verified encode                            
 770.91ms ( 25.62Mbit/s) : Loaded 12 Unverified encode                           767.00ms ( 25.75Mbit/s) : Loaded 12 Unverified encode                          
 663.58ms ( 29.77Mbit/s) : Loaded 12 decode                                      638.00ms ( 30.96Mbit/s) : Loaded 12 decode                                     
1853.21ms ( 10.66Mbit/s) : Loaded 16 Verified encode                            2211.84ms (  8.93Mbit/s) : Loaded 16 Verified encode                            
1042.54ms ( 18.95Mbit/s) : Loaded 16 Unverified encode                          1036.09ms ( 19.07Mbit/s) : Loaded 16 Unverified encode                          
 918.81ms ( 21.50Mbit/s) : Loaded 16 decode                                      921.06ms ( 21.45Mbit/s) : Loaded 16 decode                                     
Backfill verified encode bandwidth 162.22 Mbit/s [12 threads]                   Backfill verified encode bandwidth 170.17 Mbit/s [8 threads]                    
Backfill unverified encode bandwidth 301.64 Mbit/s [8 threads]                  Backfill unverified encode bandwidth 315.18 Mbit/s [8 threads]                  
Backfill decode bandwidth 353.71 Mbit/s [6 threads]                             Backfill decode bandwidth 371.61 Mbit/s [6 threads]  

I also noticed, some "legacy" tests are failing, thus "WIP/Draft" status of this PR.

Created at 1 month ago

fix unintentinally moved x86 line

Created at 1 month ago
pull request opened
add __ARM_NEON support
Created at 1 month ago

add __ARM_NEON support

Created at 1 month ago

add __ARM_NEON support

Created at 1 month ago

fix vector creation portability

Created at 1 month ago

fix signedness

Created at 1 month ago

fix vector creation portability

Created at 1 month ago

fix signedness

Created at 1 month ago

fix signedness

Created at 1 month ago

add __ARM_NEON support

Created at 1 month ago

flush

Created at 1 month ago

flush idct_neon

Created at 1 month ago

flush idct_neon

Created at 1 month ago
Automate release

Automate creating a GitHub release from a tag in CI.

Created at 1 month ago
m6w6 create tag 1.1.2
Created at 1 month ago

builds: fix freebsd ci

Created at 1 month ago