Advertisement
cooperlees

ptr Fuzzing 3.10 vs. 3.11

Apr 29th, 2022
1,413
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.94 KB | None | 0 0
  1. 3.11 is ~2s quicker than 3.10 with my fuzzing
  2.  
  3. CPU: Intel(R) Xeon(R) CPU D-1521 @ 2.40GHz
  4.  
  5. ## 3.10.4+
  6.  
  7. (test_ptr_10) cooper@home1:~/repos/ptr$ time python3 fuzz.py -v
  8. test_fuzz_coverage_line (__main__.TestNamedTuples) ... ok
  9. test_fuzz_find_py_files (__main__.TestNamedTuples) ... ok
  10. test_fuzz_step (__main__.TestNamedTuples) ... ok
  11. test_fuzz_test_result (__main__.TestNamedTuples) ... ok
  12. test_fuzz_async_main (__main__.TestPtrRunners) ... ok
  13. test_fuzz_create_venv (__main__.TestPtrRunners) ... ok
  14. test_fuzz_run_tests (__main__.TestPtrRunners) ... ok
  15. test_fuzz_find_setup_pys (__main__.TestPtrUtilities) ... ok
  16. test_fuzz_parse_setup_cfg (__main__.TestPtrUtilities) ... ok
  17. test_fuzz_print_non_configured_modules (__main__.TestPtrUtilities) ... ok
  18.  
  19. ----------------------------------------------------------------------
  20. Ran 10 tests in 7.999s
  21.  
  22. OK
  23.  
  24. real    0m8.319s
  25. user    0m7.181s
  26. sys     0m1.133s
  27.  
  28. ## 3.11.0a7+
  29.  
  30. (test_ptr_11) cooper@home1:~/repos/ptr$ time python3 fuzz.py -v
  31. test_fuzz_coverage_line (__main__.TestNamedTuples.test_fuzz_coverage_line) ... ok
  32. test_fuzz_find_py_files (__main__.TestNamedTuples.test_fuzz_find_py_files) ... ok
  33. test_fuzz_step (__main__.TestNamedTuples.test_fuzz_step) ... ok
  34. test_fuzz_test_result (__main__.TestNamedTuples.test_fuzz_test_result) ... ok
  35. test_fuzz_async_main (__main__.TestPtrRunners.test_fuzz_async_main) ... ok
  36. test_fuzz_create_venv (__main__.TestPtrRunners.test_fuzz_create_venv) ... ok
  37. test_fuzz_run_tests (__main__.TestPtrRunners.test_fuzz_run_tests) ... ok
  38. test_fuzz_find_setup_pys (__main__.TestPtrUtilities.test_fuzz_find_setup_pys) ... ok
  39. test_fuzz_parse_setup_cfg (__main__.TestPtrUtilities.test_fuzz_parse_setup_cfg) ... ok
  40. test_fuzz_print_non_configured_modules (__main__.TestPtrUtilities.test_fuzz_print_non_configured_modules) ... ok
  41.  
  42. ----------------------------------------------------------------------
  43. Ran 10 tests in 6.053s
  44.  
  45. OK
  46.  
  47. real    0m6.608s
  48. user    0m5.465s
  49. sys     0m1.140s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement