Is it possible to use ComputerCraft to show the TPS of a server?

As seen in this Reddit post, there is a program called TickProfiler which is commonly used for Lag-busting. Note that this will not work unless you install the profiler on the server.

According to the creator of this program:

I've made a small update now which allows it to be used with ComputerCraft to put up a display showing the locations of laggy blocks, entities and chunks.

It's quite easy to set up, just put this lua file on a computer, and open TickProfiler's config file, then set it up to write with an interval above 0, and the file location as world/computer/COMPUTERID/profile.txt, with COMPUTERID replaced with the ID of the computer you're using to display this information.