TickProfiler Mod 1.12.2/1.11.2/1.10.2 brings nothing but plenty of commands for profiling. These commands aim to make game profiling much easier.
This is a Server Utility mod that serves the profiling demand. Hence, if this what you are in need of, then the above mod is for you. You can install and put it onto the server side without needing to get it on the client-side. Its purpose is t help you search for the types of entities or tile entities that are bringing the lag to Minecraft. Since the game is played with plenty of players at the same time. It is possible for the lag to happen. Sometimes, it was caused by entities as well. Therefore, the mod will bring you a great solution to solve the lag problem.
You can apply some commands to profile the server. Then, you will know which entities or tile entities are making your server laggy. This is what TickProfiler is about. If you think it is necessary to have it in the game, then install and run it with Minecraft Forge installed.