Tableau Speedtest
Table of Contents
Sometimes, we all get upset when our workbooks are slow. Additionally, it can be quite challenging to measure the exact loading time before and after some changes.
There is a hard way π¬ #
If you are using Tableau Server or Tableau Online you can use Admin Insights to monitor dashboard performance, but it is only available for administrators. Tableau Server admins could also use the internal Tableau database (workgroup) and Resource Management Tool to make report for all users, but it takes some time and skills. Also, it is only daily data refresh available for Tableau Online. If you want to measure the difference after workbook changes keep in mind that you would have this gap.
Alternatively, you can use built-in Performance Recording to measure the exact loading time (check up my article on how to use it).
But there is a problem in all those ways. They are not really user-friendly and relatively slow or expensive to get some results right away.
Easy way π #
Many report creators I know use browser and stopwatch for those purposes. You simply open the report and measure time to it fully opens. The problem though is that you literally measure time with a naked eye.
Well, not anymore! I am happy to introduce you Tableau Speedtest: a simple, easy-to-use tool that helps you measure your dashboard loading speed.
π Check it out!Long story short: press Load Configs β paste the link to your view in form β press Run.
Main features #
- Measure the exact time for every loading and the average of those test launches
- Get the list of views used on this dashboard
- There is no server-side: so you donβt have to worry about the security and NDA, the tool will not store any of your data, is handled by your browser (you can download the data in *.xls format though)
- Open-source (you can host it yourself) and free to use
How to use it? #
Step 1: Fill in the server config and press Load Configs You can pass this step and use the latest version of Tableau JS API available at Tableau Public site. Also, you can download JS API directly from your site (it could be useful if you donβt have Internet access from your Tableau Server or the network your company uses).
Step 2: Enter the link to the report
you want to test
To get a valid link on Tableau Public you can click on the share button and copy the link from the pop-up window. It should be a link to a particular dashboard, not a workbook link. Also, you can set the width and height of the iframe that will contain your report.
Step 3: Click the Run button and wait β² The tool will show how much time you spend waiting for the report loads and the report itself. Obliviously, you need to have access to the report and your Tableau Server / Online ;-) You can click the button Run Again to run a second test and so on. You will see all your test results in table and bar chart visualization. Also, the tool will calculate the average loading speed of your report. You can also download data right from the bar chart visualization (upper right corner menu β Download).
How it works? #
It is just simple javascript code that uses Tableau JS API to load the workbook and measure time. There is no backend service, all magic happens in your browser at your side.
Can I contribute? #
Of course! Any help will be appreciated! Contact me via email or simply create a new pull request here: https://github.com/vitaliy-kovalev/tableau-report-speedtest
Cheers!