Skip to content

Commit

Permalink
Merge pull request #1577 from WordPress/add/web-worker-offloading-to-…
Browse files Browse the repository at this point in the history
…features

Add Web Worker Offloading to list of Performance features
  • Loading branch information
mukeshpanchal27 authored Oct 4, 2024
2 parents c2fe8a8 + 4fc8751 commit ba60dbc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions plugins/performance-lab/load.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ function perflab_get_standalone_plugin_data(): array {
'speculation-rules' => array(
'constant' => 'SPECULATION_RULES_VERSION',
),
'web-worker-offloading' => array(
'constant' => 'WEB_WORKER_OFFLOADING_VERSION',
'experimental' => true,
),
'webp-uploads' => array(
'constant' => 'WEBP_UPLOADS_VERSION',
),
Expand Down
2 changes: 1 addition & 1 deletion plugins/web-worker-offloading/load.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Plugin Name: Web Worker Offloading
* Plugin URI: https://github.com/WordPress/performance/issues/176
* Description: Offload JavaScript execution to a Web Worker.
* Description: Offloads select JavaScript execution to a Web Worker to reduce work on the main thread and improve the Interaction to Next Paint (INP) metric.
* Requires at least: 6.5
* Requires PHP: 7.2
* Version: 0.1.0
Expand Down
2 changes: 1 addition & 1 deletion plugins/web-worker-offloading/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: performance, JavaScript, web worker, partytown, analytics

Offload JavaScript execution to a Web Worker.
Offloads select JavaScript execution to a Web Worker to reduce work on the main thread and improve the Interaction to Next Paint (INP) metric.

== Description ==

Expand Down

0 comments on commit ba60dbc

Please sign in to comment.