Swift Performance Lite 2.3.7

Does Swift Performance Lite work with WordPress 6.6.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
2PHP warnings
4PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 616.13 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.035 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.6.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 10,000+
WordPress.org page https://wordpress.org/plugins/swift-performance-lite/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

Swift Performance setup

Page screenshot: Swift Performance setup
URL /wp-admin/tools.php?page=swift-performance&subpage=setup
Requested URL /wp-admin/plugins.php?action=activate&plugin=swift-performance-lite%2Fperformance.php&plugin_status=all&paged=1&s&_wpnonce=f927cdb284
Aspect after-activation
HTTP status 200
Load time 0.532 s
Memory usage 4 MiB
JS errors None
Resource errors None

Tools → Swift Performance

Page screenshot: Tools → Swift Performance
URL /wp-admin/tools.php?page=swift-performance
Aspect menu-item
HTTP status 200
Load time 0.618 s
Memory usage 4.17 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.268 s
Memory usage 3.98 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.364 s0.419 s+0.055 s3.47 MiB4.07 MiB+ 607.16 KiB
/wp-admin/edit.php0.220 s0.255 s+0.035 s3.54 MiB4.15 MiB+ 628.2 KiB
/wp-admin/post-new.php0.834 s0.905 s+0.071 s5.76 MiB6.37 MiB+ 627.26 KiB
/wp-admin/upload.php0.628 s0.620 s-0.008 s3.49 MiB4.06 MiB+ 588.99 KiB
/wp-admin/options-writing.php0.250 s0.273 s+0.023 s3.41 MiB4.04 MiB+ 649.32 KiB
/wp-admin/media-new.php0.249 s0.313 s+0.064 s3.4 MiB4.04 MiB+ 662.7 KiB
/wp-admin/edit-tags.php?taxonomy=category0.211 s0.270 s+0.059 s3.47 MiB4.06 MiB+ 604.27 KiB
/wp-admin/post-new.php?post_type=page0.618 s0.652 s+0.034 s5.75 MiB6.36 MiB+ 628.48 KiB
/wp-admin/options-discussion.php0.352 s0.445 s+0.093 s3.41 MiB4.04 MiB+ 651.02 KiB
/wp-admin/edit-comments.php0.270 s0.345 s+0.075 s3.49 MiB4.06 MiB+ 586.51 KiB
/0.346 s0.228 s-0.118 s3.45 MiB3.98 MiB+ 543.52 KiB
Average 0.395 s0.430 s+0.035 s3.88 MiB4.48 MiB+ 616.13 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
JavaScript
SVG
CSS
PO File
Language % Lines of code Comment lines Files
PHP41.2%17,0552,54087
JavaScript23.4%9,6731,23410
SVG15.1%6,24304
CSS10.6%4,404628
PO File9.7%4,0211,7592
Total 41,396 5,595 111

PHP Code Analysis | More results »

Lines of code 13,936
Total complexity 3,115
Median class complexity 17.0
Median method complexity 2.0
Most complex class Swift_Performance
Most complex function Swift_Performance_Asset_Manager::asset_manager_callback()
Classes 45
Methods 515
Functions 10

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Database Tables 1

Options wp_options 6

PHP Error Log 6 lines

[24-Jul-2024 11:50:48 UTC] PHP Warning:  Undefined array key "nonce" in /wp-content/plugins/swift-performance-lite/includes/promo/promo.php on line 29
[24-Jul-2024 11:50:48 UTC] PHP Deprecated:  Function print_emoji_styles is <strong>deprecated</strong> since version 6.4.0! Use wp_enqueue_emoji_styles instead. in /wp-includes/functions.php on line 6085
[24-Jul-2024 11:50:48 UTC] PHP Deprecated:  Function wp_admin_bar_header is <strong>deprecated</strong> since version 6.4.0! Use wp_enqueue_admin_bar_header_styles instead. in /wp-includes/functions.php on line 6085
[24-Jul-2024 11:51:03 UTC] PHP Warning:  Undefined array key "nonce" in /wp-content/plugins/swift-performance-lite/includes/promo/promo.php on line 29
[24-Jul-2024 11:51:03 UTC] PHP Deprecated:  Function print_emoji_styles is <strong>deprecated</strong> since version 6.4.0! Use wp_enqueue_emoji_styles instead. in /wp-includes/functions.php on line 6085
[24-Jul-2024 11:51:03 UTC] PHP Deprecated:  Function wp_admin_bar_header is <strong>deprecated</strong> since version 6.4.0! Use wp_enqueue_admin_bar_header_styles instead. in /wp-includes/functions.php on line 6085
See also: All tests for this plugin, How to Hide the "Swift Performance" Admin Menu