<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in json-no-difference.test</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>355ad3a3 - Add JSON output option to llvm-remark-size-diff</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/llvm/test/tools/llvm-remark-size-diff/json-no-difference.test#355ad3a3</link>
        <description>Add JSON output option to llvm-remark-size-diffThis adds JSON output to llvm-remark-size-diff.The goal here is to make it easy for external tools to consume output fromllvm-remark-size-diff. These tools could be used for automated size analysis.(E.g. in CI).To specify JSON output, use `--report_style=json`. JSON output can bepretty-printed via `--pretty`.With automation in mind, the schema looks like this:```&quot;Files&quot;: {  &quot;A&quot;: &lt;filename_a&gt;  &quot;B&quot;: &lt;filename_b&gt;},&quot;InBoth&quot;: [   {    &quot;FunctionName&quot;: &lt;function name&gt;,    &quot;InstCount&quot;: [       &lt;count_in_a&gt;,       &lt;count_in_b&gt;     ],    &quot;StackSize&quot;: [       &lt;count_in_a&gt;,       &lt;count_in_b&gt;     ]   },   ...]&quot;OnlyInA&quot;: [   {    &quot;FunctionName&quot;: &lt;function name&gt;,    &quot;InstCount&quot;: [       &lt;count_in_a&gt;,       0     ],    &quot;StackSize&quot;: [       &lt;count_in_a&gt;,       0     ]   },   ...]&quot;OnlyInB&quot;: [    {    &quot;FunctionName&quot;: &lt;function name&gt;,    &quot;InstCount&quot;: [       0,       &lt;count_in_b&gt;     ],    &quot;StackSize&quot;: [       0,       &lt;count_in_b&gt;     ]   },   ...]```A few notes:- Filenames are included, because tools may want to combine many outputs  together in some way (a big JSON file, a big CSV, or something.)- Counts are represented as [a, b] so that a diff can be calculated via b - a.  The original counts may be useful for size analysis (e.g. was this function  extremely large before?) and so both are preserved.- `OnlyInA` and `OnlyInB` have a 0 for one of the counts always. This is to  make it easier for tools to share code between `OnlyInA`, `OnlyInB`, and  `InBoth`.Differential Revision: https://reviews.llvm.org/D121173

            List of files:
            /llvm-project-15.0.7/llvm/test/tools/llvm-remark-size-diff/json-no-difference.test</description>
        <pubDate>Mon, 07 Mar 2022 23:33:12 +0000</pubDate>
        <dc:creator>Jessica Paquette &lt;jpaquette@apple.com&gt;</dc:creator>
    </item>
</channel>
</rss>
