add code Snippet in documentation (on perf testing)

2 jobs for master in 1 minute and 33 seconds (queued for 7 seconds)