[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::decc_bugs

Title:DEC C Problem Reporting Forum
Notice:Report DEC C++ problems in TURRIS::C_PLUS_PLUS
Moderator:CXXC::REPETETCHEON
Created:Fri Nov 13 1992
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1299
Total number of notes:6249

1244.0. "Performance of sprintf VAXC --> DECC" by TLE::D_SMITH (Duane Smith -- DEC C RTL) Thu Jan 09 1997 13:43

T.RTitleUserPersonal
Name
DateLines
1244.1This is being worked on as CRTL problem number 1656TLE::D_SMITHDuane Smith -- DEC C RTLThu Jan 09 1997 13:451
1244.2only sprintf() problem?TAVENG::BORISBoris Gubenko, ISEThu Jan 09 1997 14:3875
1244.32.5?CAIRN::HARRISKevin Harris, dtn 381-2039Thu Jan 09 1997 15:5226
1244.4Workarounds?...CSC32::R_GROSSMANDon't forget to dance.Thu Jan 09 1997 16:4219
1244.5DECCXL::WIBECANThat's the way it is, in Engineering!Thu Jan 09 1997 16:519
1244.6CSC32::D_DERAMODan D'Eramo, Customer Support CenterThu Jan 09 1997 18:5323
1244.7thanks for the correction, KevinTLE::CRTLFri Jan 10 1997 03:1432
1244.8I wonder why I still see 2 1/2 slower response?CSC32::R_GROSSMANDon't forget to dance.Tue Jan 14 1997 13:1427
1244.9CXXC::MJHANSMatthew Hanselman, DEC CTue Jan 14 1997 15:398
1244.10CXXC::MJHANSMatthew Hanselman, DEC CWed Jan 15 1997 13:236
1244.11Went picking low hanging fruitTLE::D_SMITHDuane Smith -- DEC C RTLWed Jan 29 1997 11:4412
    I've looked at the sprintf performance problem reported in .0.  While
    the dec c sprintf does support more options than the vax c sprintf, I
    did not want to dismiss this real user problem so quickly.
    
    While the actual 2.5 times slower number was not reproduced locally, I
    have been able to significantly reduce the number of CPU seconds taken 
    by this benchmark.  On an Alpha machine, the number of CPU seconds has
    been reduced from 29 to 13.  That's pretty danged significant if you
    ask me.  Given that this is all common code between VAX and Alpha, I
    expect most of the win to carry over to VAX.
    
    This work will appear in the OpenVMS release after V7.1.
1244.12Almost caught VAX CTLE::D_SMITHDuane Smith -- DEC C RTLThu Feb 27 1997 16:0317
    Russ Grossman was kind enough to remeasure the performance numbers for
    me.  There are three sets of numbers shown in the following chart
    comparing the VAXC, DECC V7.1, and new DECC RAVEN numbers.  The
    customer was looking for a solid commitment to improving the printf
    performance:
    
                               VAX C           V7.1         RAVEN
    
      10000 sprintf loop        5.77          14.39          6.45
      10000 fprintf loop        4.34           9.83          4.85
    
    
    Now we can argue that DEC C is "a little bit" slower due to an
    increased number of format specifiers...  8-)
    
    This performance work will be included in the next round of ECO kits
    for OpenVMS V7.1 and in the next point release after V7.1.