Any fund will have transaction costs, and even index funds need trades to keep them in line with indices.
We always use the net return (net of fees) when evaluating managers.
Actually most index funds are run by computer. That’s one of the reasons they keep their fees and expenses to a fraction of what actively managed funds generally run.