Skip to content
This repository was archived by the owner on Apr 20, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions speed.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,3 @@ for version in $python_versions; do
"$version" -mtimeit -s'from rsa.transform import _int2bytes; n = 1<<4096' '_int2bytes(n)'
fi
done

echo "bit_size speed test"
for version in $python_versions; do
if check_command "$version"; then
echo "$version"
"$version" -mtimeit -s'from rsa.common import bit_size; n = 1<<4096' 'bit_size(n)'
"$version" -mtimeit -s'from rsa.common import _bit_size; n = 1<<4096' '_bit_size(n)'
fi
done