**And here's some more...**
a = M/[r*(2*m1+2*m2+m3)]

where:

a - acceleration (m/s^2)

M - torque at the back wheel (N*m)

r - radius of the back wheel (m)

m1 - mass of the front wheel (kg)

m2 - mass of the back wheel (kg)

m3 - static mass (rider + rest of the bike, kg)

Also can be expressed as

a =[1/(2*m1+2*m2+m3)]*(M/r)

For Bike 1, 80 kg bike + rider and 2 kg each wheel thats:

a1 = 0.01190476*(M/r)

For bike 2, the same 80 kg bike plus rider (ie frame heavier 300g) but 150g lighter each wheel:

a2 = 0.01194743*(M/r)

Which means that if we use the same input power (torque, M) and same wheel radius (r):

a1/a2 = 0.996428 (meaning that bike 2 accelerates about 0.36% faster, YAY).

Now how much faster is that in a 0-30 kph sprint:

t1/t2 = a2/a1 = 0.996428^-1 = 1.003585

Now 0 - 30 kph takes about, say, 4 seconds in a good sprint on bike 1 (insert any number you find reasonable here):

So thats t2 = 4/1.003585 = 3.9857 seconds

t2 - t1 = 4 - 3.9857 = 0.0143 seconds

So in conclusion, by having 150 g lighter each wheel and 300 g heavier frame you go faster in a 0 - 30 kph sprint by a grand total of (...carry the y, square root, plus grand total equals...) whopping 0.0143 seconds. At 30 kph that means bike B will be ahead by all of 11.9 cms