Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
doc /
php-phpmyadmin-motranslator /
Delete
Unzip
Name
Size
Permission
Date
Action
PERFORMANCE.md
1005
B
-rw-r--r--
2022-04-26 11:24
README.md.gz
2.93
KB
-rw-r--r--
2022-04-26 11:24
changelog.Debian.gz
900
B
-rw-r--r--
2022-04-30 19:47
changelog.gz
1.03
KB
-rw-r--r--
2022-04-26 11:24
copyright
1.34
KB
-rw-r--r--
2022-04-30 18:51
Save
Rename
# Performance This library was tweaked for best performance for single use - translating application with many strings using mo file. Current benchmarks show it's about four times faster than original php-gettext. There are two benchmark scripts in the code: * ``benchmark-context.php`` - benchmarks context usage * ``benchmark-plural.php`` - benchmarks plural evaluation * ``benchmark.php`` - benchmarks file parsing * ``benchmark-apcu.php`` - benchmarks file parsing with APCu cache enabled ## Performance measurements The performance improvements based on individual changes in the code: | Stage | Seconds | | -------------- | --------------- | | Original code | 4.7929680347443 | | Remove nocache | 4.6308250427246 | | Direct endian | 4.5883052349091 | | Remove attribs | 4.5297479629517 | | String reader | 1.8148958683014 | | No offset | 1.2436759471893 | | Less attribs | 1.1722540855408 | | Remove shift | 1.0970499515533 | | Magic order | 1.0868430137634 |