Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for Python 3.12 #187

Merged
merged 4 commits into from
Sep 6, 2023
Merged

feat: add support for Python 3.12 #187

merged 4 commits into from
Sep 6, 2023

Conversation

P403n1x87
Copy link
Owner

Requirements for Adding, Changing, Fixing or Removing a Feature

Description of the Change

Add support for Python 3.12

Regressions

Non expected

Verification Process

Existing test suite

@P403n1x87 P403n1x87 added this to the Austin 3.6 milestone Aug 19, 2023
@P403n1x87 P403n1x87 self-assigned this Aug 19, 2023
@codecov
Copy link

codecov bot commented Aug 19, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (ff51dad) 67.88% compared to head (ff51dad) 67.88%.

❗ Current head ff51dad differs from pull request most recent head ebe7deb. Consider uploading reports for the commit ebe7deb to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##            devel     #187   +/-   ##
=======================================
  Coverage   67.88%   67.88%           
=======================================
  Files          27       27           
  Lines        2485     2485           
  Branches      761      761           
=======================================
  Hits         1687     1687           
  Misses        464      464           
  Partials      334      334           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@github-actions
Copy link

github-actions bot commented Aug 19, 2023

Austin Benchmarks

Running Austin benchmarks with Python 3.10.13

Benchmark Summary

Comparison of dev against 3.5.0.

The following scenarios show a statistically significant difference in performance between the two versions.

Sample Rate Saturation Error Rate Sampling Speed
CPU time [sampling interval: 100] 🟢 🟡 🟡 🟡
RSA keygen [sampling interval: 10] 🟡 🟢 🟡 🟡
RSA keygen [sampling interval: 100] 🔴 🟡 🟡 🟡
RSA keygen [sampling interval: 1000] 🟡 🟡 🟡 🟢
Full metrics [sampling interval: 1000] 🟢 🟡 🟡 🟡

Benchmark Results

Wall time [sampling interval: 1]

Wall time [sampling interval: 1]

Sample Rate Saturation Error Rate Sampling Speed
3.4.1 121000 ± 2000 1 ± 0 7e-06 ± 5e-06 12.9 ± 0.3
3.5.0 122000 ± 2000 1 ± 0 6e-06 ± 3e-06 12.6 ± 0.5
dev 124000 ± 2000 1 ± 0 8e-06 ± 3e-06 12.6 ± 0.5
Wall time [sampling interval: 10]

Wall time [sampling interval: 10]

Sample Rate Saturation Error Rate Sampling Speed
3.4.1 117000 ± 6000 0.543 ± 0.002 8e-06 ± 3e-06 13.1 ± 0.3
3.5.0 117000 ± 5000 0.543 ± 0.002 9e-06 ± 5e-06 13.2 ± 0.4
dev 120000 ± 4000 0.543 ± 0.002 6e-06 ± 5e-06 13 ± 0
Wall time [sampling interval: 100]

Wall time [sampling interval: 100]

Sample Rate Saturation Error Rate Sampling Speed
3.4.1 10900 ± 300 0.0008 ± 0.0002 3e-05 ± 4e-05 14.6 ± 0.5
3.5.0 10800 ± 500 0.0007 ± 0.0002 3e-05 ± 2e-05 14.7 ± 0.9
dev 10800 ± 400 0.0008 ± 0.0001 3e-05 ± 3e-05 14.4 ± 0.7
Wall time [sampling interval: 1000]

Wall time [sampling interval: 1000]

Sample Rate Saturation Error Rate Sampling Speed
3.4.1 1850 ± 30 0.0001 ± 0.0002 2e-05 ± 6e-05 18.8 ± 0.8
3.5.0 1850 ± 30 0.0002 ± 0.0003 4e-05 ± 8e-05 19 ± 1
dev 1860 ± 20 0.0002 ± 0.0002 0 ± 0 18.9 ± 0.9
CPU time [sampling interval: 1]

CPU time [sampling interval: 1]

Sample Rate Saturation Error Rate Sampling Speed
3.4.1 50000 ± 5000 1 ± 0 1e-05 ± 1e-05 23 ± 1
3.5.0 53000 ± 1000 1 ± 0 8e-06 ± 4e-06 22.7 ± 0.5
dev 52000 ± 2000 1 ± 0 7e-06 ± 5e-06 22.7 ± 0.8
CPU time [sampling interval: 10]

CPU time [sampling interval: 10]

Sample Rate Saturation Error Rate Sampling Speed
3.4.1 52000 ± 3000 0.9982 ± 0.0002 1.4e-05 ± 7e-06 22.8 ± 0.9
3.5.0 51000 ± 2000 0.9982 ± 0.0002 1e-05 ± 1e-05 22.6 ± 0.7
dev 52000 ± 4000 0.998 ± 0.001 1.1e-05 ± 9e-06 22.5 ± 1.0
CPU time [sampling interval: 100]

CPU time [sampling interval: 100]

Sample Rate Saturation Error Rate Sampling Speed
3.4.1 5420 ± 80 0.0013 ± 0.0006 9e-05 ± 4e-05 23.4 ± 0.7
3.5.0 5390 ± 60 0.0011 ± 0.0002 6e-05 ± 8e-05 23.2 ± 0.6
dev 5460 ± 70 0.0011 ± 0.0004 1e-05 ± 4e-05 23.2 ± 0.6
CPU time [sampling interval: 1000]

CPU time [sampling interval: 1000]

Sample Rate Saturation Error Rate Sampling Speed
3.4.1 947 ± 1 0.0001 ± 0.0002 0.0001 ± 0.0002 28 ± 2
3.5.0 947 ± 3 0.0002 ± 0.0003 0.0001 ± 0.0002 29 ± 1
dev 949 ± 2 0.0001 ± 0.0003 0 ± 0 28.0 ± 0.9
RSA keygen [sampling interval: 1]

RSA keygen [sampling interval: 1]

Sample Rate Saturation Error Rate Sampling Speed
3.4.1 40000 ± 2000 1 ± 0 0.0003 ± 0.0004 24.6 ± 1.0
3.5.0 39000 ± 1000 1 ± 0 0.0003 ± 0.0005 25.0 ± 0.8
dev 39200 ± 500 1 ± 0 0.0002 ± 0.0002 24.8 ± 0.4
RSA keygen [sampling interval: 10]

RSA keygen [sampling interval: 10]

Sample Rate Saturation Error Rate Sampling Speed
3.4.1 38600 ± 800 0.982 ± 0.008 0.0002 ± 0.0001 25.0 ± 0.5
3.5.0 40000 ± 1000 0.986 ± 0.006 0.0002 ± 0.0001 24.5 ± 1.0
dev 39000 ± 1000 0.97 ± 0.02 0.0003 ± 0.0002 24.6 ± 0.7
RSA keygen [sampling interval: 100]

RSA keygen [sampling interval: 100]

Sample Rate Saturation Error Rate Sampling Speed
3.4.1 6300 ± 100 0.003 ± 0.002 0.0005 ± 0.0006 29 ± 2
3.5.0 6290 ± 10 0.002 ± 0.0006 0.0006 ± 0.0003 27.7 ± 0.9
dev 6260 ± 30 0.003 ± 0.002 0.0006 ± 0.0007 29 ± 2
RSA keygen [sampling interval: 1000]

RSA keygen [sampling interval: 1000]

Sample Rate Saturation Error Rate Sampling Speed
3.4.1 941 ± 4 0 ± 0 0.001 ± 0.001 35 ± 3
3.5.0 938 ± 5 0.0001 ± 0.0004 0.001 ± 0.002 39 ± 5
dev 940 ± 2 0 ± 0 0.0004 ± 0.0009 33 ± 2
Full metrics [sampling interval: 1]

Full metrics [sampling interval: 1]

Sample Rate Saturation Error Rate Sampling Speed
3.4.1 51000 ± 2000 1 ± 0 2e-05 ± 8e-06 30 ± 1
3.5.0 51000 ± 2000 1 ± 0 2.3e-05 ± 9e-06 30 ± 1
dev 51900 ± 900 1 ± 0 2.4e-05 ± 9e-06 29.4 ± 0.7
Full metrics [sampling interval: 10]

Full metrics [sampling interval: 10]

Sample Rate Saturation Error Rate Sampling Speed
3.4.1 51000 ± 1000 1 ± 0 2.1e-05 ± 8e-06 29.7 ± 0.8
3.5.0 51000 ± 1000 1 ± 0 2e-05 ± 1e-05 29.9 ± 0.7
dev 51000 ± 2000 1 ± 0 1.5e-05 ± 6e-06 30 ± 1
Full metrics [sampling interval: 100]

Full metrics [sampling interval: 100]

Sample Rate Saturation Error Rate Sampling Speed
3.4.1 9800 ± 400 0.0026 ± 0.001 5e-05 ± 6e-05 34 ± 1
3.5.0 9900 ± 300 0.002 ± 0.0004 4e-05 ± 4e-05 34.5 ± 0.8
dev 9900 ± 300 0.0022 ± 0.0005 2e-05 ± 3e-05 34.3 ± 0.5
Full metrics [sampling interval: 1000]

Full metrics [sampling interval: 1000]

Sample Rate Saturation Error Rate Sampling Speed
3.4.1 1860 ± 20 0.0003 ± 0.0004 2e-05 ± 6e-05 40 ± 2
3.5.0 1850 ± 30 0.0002 ± 0.0002 4e-05 ± 8e-05 40 ± 1
dev 1870 ± 20 0.0002 ± 0.0003 6e-05 ± 9e-05 39.1 ± 0.9
Multiprocess wall time [sampling interval: 1]

Multiprocess wall time [sampling interval: 1]

Sample Rate Saturation Error Rate Sampling Speed
3.4.1 2500 ± 300 1 ± 0 0.00017 ± 0.0001 260 ± 20
3.5.0 3000 ± 200 1 ± 0 0.00017 ± 5e-05 320 ± 20
dev 3100 ± 200 1 ± 0 0.00014 ± 6e-05 310 ± 20
Multiprocess wall time [sampling interval: 10]

Multiprocess wall time [sampling interval: 10]

Sample Rate Saturation Error Rate Sampling Speed
3.4.1 2400 ± 100 1 ± 0 0.0003 ± 0.0003 260 ± 10
3.5.0 3100 ± 100 1 ± 0 0.00015 ± 6e-05 310 ± 10
dev 3000 ± 100 1 ± 0 0.00014 ± 5e-05 320 ± 10
Multiprocess wall time [sampling interval: 100]

Multiprocess wall time [sampling interval: 100]

Sample Rate Saturation Error Rate Sampling Speed
3.4.1 2300 ± 300 0.03 ± 0.02 0.00012 ± 5e-05 270 ± 20
3.5.0 2900 ± 300 0.05 ± 0.02 8e-05 ± 5e-05 330 ± 30
dev 2900 ± 400 0.05 ± 0.02 5e-05 ± 3e-05 290 ± 90
Multiprocess wall time [sampling interval: 1000]

Multiprocess wall time [sampling interval: 1000]

Sample Rate Saturation Error Rate Sampling Speed
3.4.1 2000 ± 100 0.0006 ± 0.0003 3e-05 ± 2e-05 43 ± 2
3.5.0 2800 ± 200 0.013 ± 0.002 3e-05 ± 3e-05 98 ± 7
dev 2800 ± 100 0.014 ± 0.003 2e-05 ± 2e-05 100 ± 10

@P403n1x87 P403n1x87 force-pushed the feat/python312 branch 2 times, most recently from 570f3d6 to 302ac65 Compare August 20, 2023 16:08
@P403n1x87 P403n1x87 force-pushed the feat/python312 branch 2 times, most recently from d196b82 to be980cb Compare September 5, 2023 22:25
@P403n1x87 P403n1x87 marked this pull request as ready for review September 6, 2023 14:09
@P403n1x87 P403n1x87 merged commit 0036681 into devel Sep 6, 2023
30 of 40 checks passed
@P403n1x87 P403n1x87 deleted the feat/python312 branch September 6, 2023 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant