An hour of finished stand-up is the product of many months of small performances in front of audiences who never see the final version. The process is closer to iterative testing than to writing.
New material starts in the smallest rooms
Comedians work new bits at short club sets where expectations are low and a failure costs little beyond a quiet few minutes.
These rooms are valuable precisely because they are unforgiving, since an audience that has not paid to see a particular performer will not carry weak material out of goodwill.
Working there also allows frequency, and frequency matters more than any individual show because the process depends on repetition.
The unit being tested is smaller than a joke
Response is assessed line by line rather than bit by bit, since a strong idea can be undone by a single word in the wrong place.
Comedians vary phrasing, pauses and emphasis across performances while keeping the underlying idea fixed, which isolates what is actually causing the problem.
This is why recordings of early performances matter. Memory of what worked is unreliable, and the difference between versions is often a fraction of a second.
Failure usually means the premise is unclear
Material that gets nothing is more often confusing than unfunny, because an audience that has not followed the setup cannot respond to the turn.
The common repair is to add information earlier or remove a distracting detail, rather than to change the joke at the end.
Bits are therefore rebuilt many times before being abandoned, and some of the strongest material in a finished set failed repeatedly in early versions.
Order is tested as carefully as content
Sequence changes how material lands, because an audience carries the tone of one bit into the next and certain subjects need to be earned.
Comedians experiment with running order across many shows, and a bit that struggles in one position can work immediately in another.
Callbacks emerge from this process, since a line only works as a reference once its original has reliably registered earlier in the set.
The tour version is already largely fixed
By the time a show is touring, the set has been through enough performances that its shape is settled and changes are marginal.
Audiences at those shows are seeing a tested product, which is the difference between a tour and the club nights where the same performer is developing next year's material.
Recording devices are commonly restricted at work-in-progress shows for that reason, since unfinished material circulating out of context misrepresents what the comedian is doing.