<commit_before>import bohrium as np
import bohrium.examples.jacobi_stencil as js
import util

B = util.Benchmark()
H = B.size[0]
W = B.size[1]
I = B.size[2]

ft = js.freezetrap(H,W,dtype=B.dtype,bohrium=B.bohrium)

B.start()
#ft = js.solve(ft,max_iterations=I)
ft = js.iterate(ft, I)
B.stop()
B.pprint()
<commit_msg>benchmark-jacoby-py: Added use of the verbose flag.<commit_after>import bohrium as np
import bohrium.examples.jacobi_stencil as js
import util

B = util.Benchmark()
H = B.size[0]
W = B.size[1]
I = B.size[2]

ft = js.freezetrap(H,W,dtype=B.dtype,bohrium=B.bohrium)

B.start()
#ft = js.solve(ft,max_iterations=I)
ft = js.iterate(ft, I)
B.stop()
if B.verbose:
    print ft
B.pprint()

{'fraction_non_alphanumeric': 0.1606886657101865, 'fraction_numerical': 0.00860832137733142, 'mean_word_length': 4.67479674796748, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4103542', 'n_tokens_mistral': 327, 'n_tokens_neox': 321, 'n_words': 66}