Lines Matching refs:timings
3 timings
6 Plot the timings from building minimal-lexical.
51 '''Build the project and get the timings output.'''
53 command = 'cargo +nightly build -Z timings=json'
88 def plot_timings(timings, output):
89 '''Plot our timings data.'''
93 count = len(timings) + 1
103 if name not in timings:
105 duration, rmeta = timings[name]
137 if key not in timings:
139 max_time = max(timings[key][0], max_time)
151 ax.set_yticks(list(range(1, len(timings) + 2)))
158 plt.ylim(count + 0.5, len(timings) + 1.5)
165 '''Build and plot the timings for the root module.'''
168 timings = build(args)
169 path = f'{home}/assets/timings_{filename("timings", args)}_{os.name}.svg'
170 plot_timings(timings, path)