Skip to content

Commit

Permalink
Update performance test graph and script
Browse files Browse the repository at this point in the history
  • Loading branch information
eriknyquist committed Apr 6, 2023
1 parent 8968eee commit c414e99
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 38 deletions.
Binary file modified images/performance_graph.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
76 changes: 38 additions & 38 deletions tests/performance_tests/big_class_performance_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,46 +120,46 @@ def generate_data_point(index, nesting_level, vars_per_level):
from_json_times.append(from_json_time)

# Larger data
generate_data_point(0, 10, 10)
generate_data_point(1, 10, 50)
generate_data_point(2, 10, 100)
generate_data_point(3, 20, 100)
generate_data_point(4, 20, 150)
generate_data_point(5, 20, 200)
generate_data_point(6, 40, 200)
generate_data_point(7, 40, 250)
generate_data_point(8, 40, 300)
generate_data_point(9, 60, 300)
generate_data_point(10, 60, 350)
generate_data_point(11, 60, 400)
generate_data_point(12, 80, 400)
generate_data_point(13, 80, 450)
generate_data_point(14, 80, 500)
generate_data_point(15, 90, 500)
generate_data_point(16, 90, 550)
generate_data_point(17, 90, 600)
generate_data_point(18, 100, 600)
#generate_data_point(0, 10, 10)
#generate_data_point(1, 10, 50)
#generate_data_point(2, 10, 100)
#generate_data_point(3, 20, 100)
#generate_data_point(4, 20, 150)
#generate_data_point(5, 20, 200)
#generate_data_point(6, 40, 200)
#generate_data_point(7, 40, 250)
#generate_data_point(8, 40, 300)
#generate_data_point(9, 60, 300)
#generate_data_point(10, 60, 350)
#generate_data_point(11, 60, 400)
#generate_data_point(12, 80, 400)
#generate_data_point(13, 80, 450)
#generate_data_point(14, 80, 500)
#generate_data_point(15, 90, 500)
#generate_data_point(16, 90, 550)
#generate_data_point(17, 90, 600)
#generate_data_point(18, 100, 600)

# Smaller data
#generate_data_point(0, 10, 10)
#generate_data_point(1, 10, 20)
#generate_data_point(2, 10, 40)
#generate_data_point(3, 20, 40)
#generate_data_point(4, 20, 60)
#generate_data_point(5, 20, 80)
#generate_data_point(6, 40, 80)
#generate_data_point(7, 40, 100)
#generate_data_point(8, 40, 120)
#generate_data_point(9, 60, 120)
#generate_data_point(10, 60, 140)
#generate_data_point(11, 60, 160)
#generate_data_point(12, 80, 160)
#generate_data_point(13, 80, 180)
#generate_data_point(14, 80, 200)
#generate_data_point(15, 90, 200)
#generate_data_point(16, 90, 220)
#generate_data_point(17, 90, 240)
#generate_data_point(18, 100, 240)
generate_data_point(0, 10, 10)
generate_data_point(1, 10, 20)
generate_data_point(2, 10, 40)
generate_data_point(3, 20, 40)
generate_data_point(4, 20, 60)
generate_data_point(5, 20, 80)
generate_data_point(6, 40, 80)
generate_data_point(7, 40, 100)
generate_data_point(8, 40, 120)
generate_data_point(9, 60, 120)
generate_data_point(10, 60, 140)
generate_data_point(11, 60, 160)
generate_data_point(12, 80, 160)
generate_data_point(13, 80, 180)
generate_data_point(14, 80, 200)
generate_data_point(15, 90, 200)
generate_data_point(16, 90, 220)
generate_data_point(17, 90, 240)
generate_data_point(18, 100, 240)

fig, ax1 = plt.subplots()

Expand Down

0 comments on commit c414e99

Please sign in to comment.