+```python
+# import time
+# w_times = []
+# c_times = []
+# for _ in range(1000):
+# w1, c1 = time.perf_counter(), time.process_time()
+# valid_random_riddle(random.choice(dictionary))
+# w2, c2 = time.perf_counter(), time.process_time()
+# w_times.append(w2 - w1)
+# c_times.append(c2 - c1)
+
+# with open('cpu_times.txt', 'w') as f:
+# f.writelines(f'{t}\n' for t in c_times)
+# with open('wall_times.txt', 'w') as f:
+# f.writelines(f'{t}\n' for t in w_times)
+
+```
+
+```python
+glcounts = []
+for _ in range(1000):
+ gencount = 0
+ r = valid_random_riddle(random.choice(dictionary))
+ linecount = len(r)
+ glcounts.append((gencount, linecount))
+
+with open('linecounts.txt', 'w') as f:
+ f.write('"Lines generated","Lines in riddle"\n')
+ f.writelines(f'{g},{l}\n' for g, l in glcounts)
+```
+