Ye olde wiring harness? When to replace?

When you are experiencing failure or have outgrown what it's capable of.

I'd stay away from painless.