Closed Bug 1574234 Opened 6 years ago Closed 6 years ago

How much atom duplication is actually happening when writing to XDR buffer per top level script

Categories

(Core :: JavaScript Engine, task, P1)

task

Tracking

()

RESOLVED FIXED
Tracking Status
firefox69 --- wontfix
firefox70 --- wontfix
firefox71 --- wontfix

People

(Reporter: caroline, Assigned: caroline)

References

Details

Show how much atom duplication is happen when writing to the XDR buffer. Of all atoms being written to the buffer, how many are duplicates? Of all the data written to the buffer, how much of it is atoms?

Show averages across multiple top level XDR bytecode encodings in order to show that removing these duplicates will have an impact on XDR buffer storage and caching across main process as well as saving time on buffer writes.

Blocks: 1573643
Priority: -- → P1

A script collecting information about the above categories across 10 distinct top level script encodings the following averages were gathered:

Total atoms written: 13104.1 bytes
Total duplicate atoms written: 5110.1 bytes
Total bytes written: 439693.8 bytes

Average percentage of duplicate atoms to atom bytes written: 39%
Average percentage of atoms to total bytes written: 3%
Average percentage of duplicate atoms to total bytes written: 1.2%

Caroline, should this bug be marked as resolved, based on comment 1?
Or is there more work to do to analyze XDR?

Flags: needinfo?(ccullen)
Flags: needinfo?(ccullen)
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.