Skip to content

Commit adfa51c

Browse files
committed
externalTests: Measure compilation time
1 parent 91ee0ed commit adfa51c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/externalTests/common.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ function run_test
236236
replace_version_pragmas
237237

238238
printLog "Running compile function..."
239-
$compile_fn
239+
time $compile_fn
240240

241241
printLog "Running test function..."
242242
$test_fn
@@ -329,7 +329,7 @@ function compile_and_run_test
329329
local verify_fn="$3"
330330

331331
printLog "Running compile function..."
332-
$compile_fn
332+
time $compile_fn
333333
$verify_fn "$SOLCVERSION_SHORT" "$SOLCVERSION"
334334

335335
if [[ "$COMPILE_ONLY" == 1 ]]; then

0 commit comments

Comments
 (0)