Performance of a solenoid-driven pulsed molecular-beam source