Created
July 14, 2020 12:00
-
-
Save JotaroS/169484f9d89ffd709700837849e085ad to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import seaborn as sns | |
import matplotlib.pyplot as plt | |
file = open ('input.txt', 'r') | |
lines = file.readlines() | |
values = [] | |
for l in lines: | |
if(l.find('Free heap')!=-1): | |
print(l) | |
s = l.split(': ')[1] | |
s = s.split(' ')[0] | |
values.append(int(s)) | |
plt.plot(values) | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment