Most slow computers are not infected. They are full, fragmented by years of installed software, or simply running more than the hardware can handle.
Malware slowdown has a different shape. The machine is busy when idle: fans spin with no windows open, the drive light stays lit, and network activity continues after you stop working.
Browser symptoms are the clearest tell. New toolbars, a changed search engine, pages redirecting, or adverts appearing on sites that do not normally carry them.
The practical distinction is that ordinary slowness scales with what you ask for, while unwanted software imposes a constant background cost you never requested.