[webkit-changes] [WebKit/WebKit] 7f321b: [JSC] Add functionality to dump Metadata statistics
Tadeu Zagallo
noreply at github.com
Fri Feb 10 03:47:06 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 7f321ba0c15adf730ed232d547a2ea389688cc0d
https://github.com/WebKit/WebKit/commit/7f321ba0c15adf730ed232d547a2ea389688cc0d
Author: Tadeu Zagallo <tzagallo at apple.com>
Date: 2023-02-10 (Fri, 10 Feb 2023)
Changed paths:
M Source/JavaScriptCore/bytecode/UnlinkedMetadataTable.cpp
M Source/JavaScriptCore/bytecode/UnlinkedMetadataTable.h
M Source/JavaScriptCore/bytecode/UnlinkedMetadataTableInlines.h
Log Message:
-----------
[JSC] Add functionality to dump Metadata statistics
https://bugs.webkit.org/show_bug.cgi?id=251984
rdar://105215210
Reviewed by Yusuke Suzuki.
While looking at ways to shrink the size of the metadata table, it was helpful
to dump some statistics of how much memory we're using and what opcodes contribute
to it the most.
* Source/JavaScriptCore/bytecode/UnlinkedMetadataTable.cpp:
(JSC::MetadataStatistics::reportMetadataStatistics):
(JSC::UnlinkedMetadataTable::finalize):
* Source/JavaScriptCore/bytecode/UnlinkedMetadataTable.h:
* Source/JavaScriptCore/bytecode/UnlinkedMetadataTableInlines.h:
(JSC::UnlinkedMetadataTable::link):
Canonical link: https://commits.webkit.org/260105@main
More information about the webkit-changes
mailing list