Open Bug 1843058 Opened 1 year ago Updated 1 year ago

Performance impact for enabling networking over socket process

Categories

(Core :: Networking, task, P3)

task

Tracking

()

People

(Reporter: kershaw, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [necko-triaged])

This bug is used to track the performance tests for socket process.

FYI Sunil, you could paste the try link here also.
Thanks!

Flags: needinfo?(smayya)

Running page load essentials perf tests with the following perf:


--- a/modules/libpref/init/StaticPrefList.yaml
+++ b/modules/libpref/init/StaticPrefList.yaml
@@ -11828,7 +11828,7 @@
 - name: network.http.network_access_on_socket_process.enabled
   type: RelaxedAtomicBool
   mirror: always
-  value: true
+  value: false

Base revision's try run: https://treeherder.mozilla.org/jobs?repo=try&revision=fc2eb3bb82534b728e7a85d5525dd88b7b27ee31
Local revision's try run: https://treeherder.mozilla.org/jobs?repo=try&revision=b6fc323f6ce971f213f6191b180042e7b51a5b0e

Flags: needinfo?(smayya)

This the performance result from this Perfherder comparison.

To make the findings more comprehensible, we've focused on results from three websites: Amazon, CNN, and Instagram.

High Level Results

PerceptualSpeedIndex

Site originalValue newValue Delta confidence
amazon 494.7904762 505.86 2.23% med
cnn 833.69 865.648 3.83% high
instagram 664.45 678.21 2.07% med

ContentfulSpeedIndex

Site originalValue newValue Delta confidence
amazon 507.7714286 520.465 2.50% med
cnn 853.045 888.8 4.19% high
instagram 936.12 955.97 2.12% med

LoadTime

Site originalValue newValue Delta confidence
amazon 1260.757143 1317.96 4.54% med
cnn 1182.875 1236.552 4.53% high
instagram 1547.64 1566.9 1.24% med

Detailed Metrics

HttpChannelCompletion_Network

This is the time elapsed from opening an HTTP channel (used to load data from the network) until its completion.

Site originalValue newValue Delta confidence
amazon 49053.6381 50415.02 2.78% high
cnn 15644.78 16148.512 3.22% high
instagram 9577.88 9799.99 2.32% med

HttpChannelResponseStartParentToContent

This is the time elapsed from the start of receiving an HTTP response until the response reaches the content process.

Site originalValue newValue Delta confidence
amazon 13059.10952 13758.1 5.35% high
cnn 9784.59 10324.996 5.52% high
instagram 4955.91 5046.14 1.82% low

HttpChannelResponseEndParentToContent

This is the time elapsed from the completion of receiving HTTP data to when all data reaches the content process.

Site originalValue newValue Delta confidence
amazon 2021.12381 2236.685 10.67% high
cnn 6737.685 7032.356 4.37% high
instagram 2123.7 2166.56 2.02% low

OnStartRequestToContent

When the Socket Process is enabled, this is the time elapsed from sending the OnStartRequest message in the Socket Process to the moment it arrives in the content process.

When the Socket Process is disabled, this is the time taken to send the OnStartRequest message from the parent process to the content process.

Site originalValue newValue Delta confidence
amazon 1469.57619 1888.42 28.50% high
cnn 5793.895 6084.024 5.01% high
instagram 2089.85 2180.44 4.33% low

OnDataAvailableToContent

Similar as OnStartRequestToContent, but this is for OnDataAvailable message.

Site originalValue newValue Delta confidence
amazon 1290.680952 1976.515 53.14% high
cnn 5467.95 6755.932 23.56% high
instagram 1995.13 2277.15 14.14% high

OnStopRequestToContent

Similar as OnStartRequestToContent, but this is for OnStopRequest message.

Site originalValue newValue Delta confidence
amazon 1592.852381 1902.15 19.42% high
cnn 6655.725 6716.684 0.92% low
instagram 2023.95 2132.96 5.39% med

This is the PerfStats result from this comparison.

High Level Results

PerceptualSpeedIndex

Site originalValue newValue Delta confidence
amazon 497.12592592592586 504.29999999999995 1.44% low
cnn 854.4566666666667 891.2829787234044 4.31% high
instagram 674.1600000000001 683.8818181818183 1.44% med

ContentfulSpeedIndex

Site originalValue newValue Delta confidence
amazon 507.8481481481481 517.9692307692309 1.99% low
cnn 861.5633333333334 908.8702127659576 5.49% high
instagram 955.2733333333333 972.8909090909091 1.84% med

LoadTime

Site originalValue newValue Delta confidence
amazon 1275.7185185185185 1294.7576923076922 1.49% low
cnn 1210.79 1269.2978723404253 4.83% high
instagram 1498.5666666666666 1488.3 -0.69% low

Detailed Metrics

HttpChannelCompletion_Network

Site originalValue newValue Delta confidence
amazon 49512.78518518518 50535.43461538463 2.07% med
cnn 15885.666666666666 16479.4085106383 3.74% high
instagram 9150.34 9401.672727272728 2.75% high

HttpChannelResponseEndParentToContent

Site originalValue newValue Delta confidence
amazon 2174.92962962963 2347.723076923077 7.94% high
cnn 6831.329999999999 7102.176595744683 3.96% high
instagram 1984.22 2083.581818181818 5.01% med

HttpChannelResponseStartParentToContent

Site originalValue newValue Delta confidence
amazon 13216.099999999999 13836.749999999998 4.70% high
cnn 9776.133333333335 10336.108510638298 5.73% high
instagram 4737.406666666666 4865.090909090909 2.70% med

OnDataAvailableToContent

Site originalValue newValue Delta confidence
amazon 1310.4814814814815 1849.173076923077 41.11% high
cnn 5362.456666666665 5885.940425531916 9.76% high
instagram 1841.7133333333331 2043.7818181818182 10.97% high
You need to log in before you can comment on or make changes to this bug.