From f886ffd67396c2a512bfd71dc62e8bbc72f1ef8b Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 27 Jan 2022 10:22:01 +0100 Subject: export dataref entries with deterministic order --- bin/analyze-archive.py | 2 +- bin/analyze-kconfig.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/analyze-archive.py b/bin/analyze-archive.py index 073db96..5cd7ef7 100755 --- a/bin/analyze-archive.py +++ b/bin/analyze-archive.py @@ -1069,7 +1069,7 @@ if __name__ == "__main__": dref["constructor duration"] = (constructor_duration, r"\second") dref["regression duration"] = (fit_duration, r"\second") with open(args.export_dref, "w") as f: - for k, v in dref.items(): + for k, v in sorted(dref.items()): if type(v) is not tuple: v = (v, None) if v[1] is None: diff --git a/bin/analyze-kconfig.py b/bin/analyze-kconfig.py index 61d3aa0..ceb97be 100755 --- a/bin/analyze-kconfig.py +++ b/bin/analyze-kconfig.py @@ -340,7 +340,7 @@ def main(): dref["constructor duration"] = (constructor_duration, r"\second") dref["regression duration"] = (fit_duration, r"\second") with open(args.export_dref, "w") as f: - for k, v in dref.items(): + for k, v in sorted(dref.items()): if type(v) is not tuple: v = (v, None) if v[1] is None: -- cgit v1.2.3