Skip to content

Commit e650840

Browse files
committed
Update time import script to use Python 3.9.
1 parent 7380215 commit e650840

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/time_imports.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ find . -name "*.pyc" -print0 | xargs -0 rm
2626

2727
# Example line:
2828
# import time: 1112 | 70127 | libcloud
29-
LIBCLOUD_IMPORT_TIMINGS=$(python3.8 -X importtime -c "import libcloud" 2>&1)
29+
LIBCLOUD_IMPORT_TIMINGS=$(python3.9 -X importtime -c "import libcloud" 2>&1)
3030
LIBCLOUD_IMPORT_TIME_CUMULATIVE_US=$(echo -e "${LIBCLOUD_IMPORT_TIMINGS}" | tail -1 | grep "| libcloud" | awk '{print $5}')
3131

3232
echo "Import timings for \"libcloud\" module"
@@ -40,7 +40,7 @@ fi
4040
# Clean up any cached files to ensure consistent and clean environment
4141
find . -name "*.pyc" -print0 | xargs -0 rm
4242

43-
EC2_DRIVER_IMPORT_TIMINGS=$(python3.8 -X importtime -c "import libcloud.compute.drivers.ec2" 2>&1)
43+
EC2_DRIVER_IMPORT_TIMINGS=$(python3.9 -X importtime -c "import libcloud.compute.drivers.ec2" 2>&1)
4444
EC2_DRIVER_IMPORT_TIME_CUMULATIVE_US=$(echo -e "$EC2_DRIVER_IMPORT_TIMINGS}" | tail -1 | grep "| libcloud.compute.drivers.ec2" | awk '{print $5}')
4545

4646
echo ""

0 commit comments

Comments
 (0)