2 ms·Well, the C++ iostream library is slower. A truer comparison could be to compile the same code in both.by JoeAltmaier 4y agoWell, the C++ iostream library is slower. A truer comparison could be to compile the same code in both.