@@ -790,10 +790,10 @@ function gethostname() {
790
790
'37_02_php8_str_ccontains_simulate ' => 100000 ,
791
791
'38_01_php_uuid ' => 1000000 ,
792
792
'38_02_mod_uuid ' => 1000000 ,
793
- '39_01_kvstorage_memory ' => 1000000 ,
794
- '39_02_kvstorage_xcache ' => 1000000 ,
795
- '39_03_kvstorage_apcu ' => 1000000 ,
796
- '39_04_kvstorage_shmop ' => 1000000 ,
793
+ '39_01_kvstorage_memory ' => 500000 ,
794
+ '39_02_kvstorage_xcache ' => 500000 ,
795
+ '39_03_kvstorage_apcu ' => 500000 ,
796
+ '39_04_kvstorage_shmop ' => 500000 ,
797
797
);
798
798
// Should not be more than X Mb
799
799
// Different PHP could use different amount of memory
@@ -852,10 +852,10 @@ function gethostname() {
852
852
'37_02_php8_str_ccontains_simulate ' => 4 ,
853
853
'38_01_php_uuid ' => 4 ,
854
854
'38_02_mod_uuid ' => 4 ,
855
- '39_01_kvstorage_memory ' => 4 ,
856
- '39_02_kvstorage_xcache ' => 47 ,
857
- '39_03_kvstorage_apcu ' => 93 ,
858
- '39_04_kvstorage_shmop ' => 4 ,
855
+ '39_01_kvstorage_memory ' => 3 ,
856
+ '39_02_kvstorage_xcache ' => 2 r ,
857
+ '39_03_kvstorage_apcu ' => 47 ,
858
+ '39_04_kvstorage_shmop ' => 70 ,
859
859
);
860
860
861
861
/** ---------------------------------- Common functions -------------------------------------------- */
@@ -1662,6 +1662,10 @@ function filter_out_name_by_pattern($key)
1662
1662
if (extension_loaded ('apcu ' )) {
1663
1663
$ has_apcu = "{$ colorGreen }yes {$ colorReset }" ;
1664
1664
}
1665
+ $ has_shmop = "{$ colorYellow }no {$ colorReset }" ;
1666
+ if (extension_loaded ('shmop ' )) {
1667
+ $ has_shmop = "{$ colorGreen }yes {$ colorReset }" ;
1668
+ }
1665
1669
$ has_eacc = "{$ colorGreen }no {$ colorReset }" ;
1666
1670
if (extension_loaded ('eAccelerator ' )) {
1667
1671
$ has_eacc = "{$ colorYellow }yes {$ colorReset }" ;
@@ -1765,7 +1769,7 @@ function print_results_common()
1765
1769
global $ flushStr , $ has_apc , $ has_pcre , $ has_intl , $ has_json , $ has_simplexml , $ has_dom , $ has_mbstring , $ has_opcache , $ has_xcache ;
1766
1770
global $ has_gd , $ has_imagick , $ has_igb , $ has_msg , $ has_jsond , $ has_jsond_as_json ;
1767
1771
global $ has_zlib , $ has_uuid , $ has_gzip , $ has_bz2 , $ has_lz4 , $ has_snappy , $ has_zstd , $ has_brotli ;
1768
- global $ has_apcu , $ opcache , $ has_eacc , $ has_xdebug , $ xcache , $ apcache , $ eaccel , $ xdebug , $ xdbg_mode , $ obd_set , $ mbover ;
1772
+ global $ has_apcu , $ has_shmop , $ opcache , $ has_eacc , $ has_xdebug , $ xcache , $ apcache , $ eaccel , $ xdebug , $ xdbg_mode , $ obd_set , $ mbover ;
1769
1773
global $ showOnlySystemInfo , $ padLabel , $ functions , $ runOnlySelectedTests , $ selectedTests , $ totalOps ;
1770
1774
global $ colorGreen , $ colorReset , $ colorRed ;
1771
1775
@@ -1802,6 +1806,7 @@ function print_results_common()
1802
1806
. str_pad ("gd " , $ padInfo , ' ' , STR_PAD_LEFT ) . " : $ has_gd: version: " . GD_VERSION ."\n"
1803
1807
. str_pad ("imagick " , $ padInfo , ' ' , STR_PAD_LEFT ) . " : $ has_imagick: version: " .IMG_VERSION ."\n"
1804
1808
. str_pad ("apcu " , $ padInfo , ' ' , STR_PAD_LEFT ) . " : $ has_apcu; \n"
1809
+ . str_pad ("shmop " , $ padInfo , ' ' , STR_PAD_LEFT ) . " : $ has_shmop; \n"
1805
1810
. str_pad ("-alternative-> " , $ padInfo , ' ' , STR_PAD_LEFT ) . "\n"
1806
1811
. str_pad ("igbinary " , $ padInfo , ' ' , STR_PAD_LEFT ) . " : $ has_igb \n"
1807
1812
. str_pad ("msgpack " , $ padInfo , ' ' , STR_PAD_LEFT ) . " : $ has_msg \n"
0 commit comments