Improve picosoc performance.{py,png}

This commit is contained in:
Clifford Wolf 2017-09-21 18:46:09 +02:00
parent 0c9dce7bc2
commit 45bd9b81ea
2 changed files with 3 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 32 KiB

View File

@ -64,10 +64,10 @@ for line in text.split("\n"):
labels.append(line[0])
values.append(int(line[2], 16))
plt.figure(figsize=(10, 3))
plt.figure(figsize=(10, 5))
plt.title("Performance comparison for different PicoSoC SPI flash configurations")
plt.plot(range(len(labels)), values[0] / np.array(values))
plt.xticks(range(len(labels)), labels, rotation=90)
plt.xticks(range(len(labels)), labels, rotation=80)
for color, x1, x2 in [["black", 0, 0], ["red", 1, 8], ["green", 9, 16],
["red", 17, 24], ["green", 25, 32], ["red", 33, 40], ["green", 41, 48]]:
@ -82,5 +82,6 @@ plt.xlim(-1, len(values))
plt.ylim(0, 9)
plt.grid()
plt.gcf().subplots_adjust(bottom=0.3)
plt.savefig("performance.png")
# plt.show()