Okay this isn't perfect but its pretty close.
If I could get Ferrari telemetry I could tidy up the gear ratios but this gives a pretty smooth slope so its there or thereabouts.
Not entirely sure whether the section between 1500m and 2000m is correct, looks a bit odd but the rest mostly fits.
F1 Bahrain Pole 2006 vs 2017
Click the link to expand it enough to read.
Whats notable is that in the low speed 2006 and 2017 are pretty much the same, medium speed 2017 is a bit quicker and high speed corners are again about the same. Between 3500m and 4000m is a high speed corner, 2017 has to lift whereas 2006 doesnt.
2006 has traction control and around 100kg lighter car.
You can see 2017 gains in all of the acceleration zones from around 200kph.
DRS zones give the 2017 car a good boost on top speed although without DRS it is likely they would run slightly less drag.
It looks like the 2017 Merc is running out of electrical energy on the finish straight in the run up to the line.
So unsurprisingly I guess, the answer to the question "are the 2017 cars the fastest ever in the corners" is a resounding "it depends." In some corners they definitely are, while in others not so much.