Source code for CIME.tests.test_sys_cime_performance

#!/usr/bin/env python3

import time

from CIME.tests import base


[docs] class TestCimePerformance(base.BaseTestCase):
[docs] def test_cime_case_ctrl_performance(self): ts = time.time() num_repeat = 5 for _ in range(num_repeat): self._create_test(["cime_tiny", "--no-build"]) elapsed = time.time() - ts print("Perf test result: {:0.2f}".format(elapsed))