I don't have a value for altitude gained, but I can describe something similar I did that during my private pilot certificate checkride: while crusing at about 110Kts, DPE pulled power to idle.
My first reaction to was "convert" energy to altitude and pitched up to get to Vx until reaching best power off glide with flaps retracted.
- i pitched up the instance i felt DEP pulling power out
- the rate of pitch change was a little slower at first until speed decayed to inidicated Va (did not want to do abrupt pitch up before indicated speed had decreased to Va - for weight based on 2 occupants and 1/2 fuel)
- after getting to Va, I continued to pitch "deliberatly/firmly" as necessary to get to "about" Vx.
- once I pitched up to a degree that gave me "about" Vx, I had to relax back pressure continuously to maintain Vx during power off ascend, to maintain Vx
- As energy was consumed during climb, I eventually leveled off and then lowered the nose descend at best glide speed with flaps up.
This was a C172 "S"
Now all of this happened pretty quickly and airspeed and pitch change continuously until you begin the descend at best glide speed. (DPE said it was very good, all things considered). But it would be interesting to try and get the value you were asking for. I'm guessing the amount of altitude you climb would depend (among other things) on the weight of the aircraft as well as the density altitude at which you start your power off (for example, power to idle at 3000 feet and start climbing, versus starting at over 10000).