A quick counting loop for a performance test

Hi all. I'm writing this small performance test using the add method of an arraylist. How would I wrap a for (or while) loop around this code so that it runs 1000 times, averages the total times of all the tests, and then prints the average out? Thanks.
startTime = System.nanoTime();
for(int i = 0; i< last.length; i++ ){
arrayListLast.add(last);
stopTime = System.nanoTime();
totalTime = stopTime-startTime;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

What part are you having trouble with?
Do you not know how to repeat something a certain number of times?
Do you not know how to compute an average?
Do you not know how to print something out?

Similar Messages

  • [Ann] FirstACT 2.2 released for SOAP performance testing

    Empirix Releases FirstACT 2.2 for Performance Testing of SOAP-based Web Services
    FirstACT 2.2 is available for free evaluation immediately at http://www.empirix.com/TryFirstACT
    Waltham, MA -- June 5, 2002 -- Empirix Inc., the leading provider of test and monitoring
    solutions for Web, voice and network applications, today announced FirstACT™ 2.2,
    the fifth release of the industry's first and most comprehensive automated performance
    testing tool for Web Services.
    As enterprise organizations are beginning to adopt Web Services, the types of Web
    Services being developed and their testing needs is in a state of change. Major
    software testing solution vendor, Empirix is committed to ensuring that organizations
    developing enterprise software using Web Services can continue to verify the performance
    of their enterprise as quickly and cost effectively as possible regardless of the
    architecture they are built upon.
    Working with organizations developing Web Services, we have observed several emerging
    trends. First, organizations are tending to develop Web Services that transfer a
    sizable amount of data within each transaction by passing in user-defined XML data
    types as part of the SOAP request. As a result, they require a solution that automatically
    generates SOAP requests using XML data types and allows them to be quickly customized.
    Second, organizations require highly scalable test solutions. Many organizations
    are using Web Services to exchange information between business partners and have
    Service Level Agreements (SLAs) in place specifying guaranteed performance metrics.
    Organizations need to performance test to these SLAs to avoid financial and business
    penalties. Finally, many organizations just beginning to use automated testing tools
    for Web Services have already made significant investments in making SOAP scripts
    by hand. They would like to import SOAP requests into an automated testing tool
    for regression testing.
    Empirix FirstACT 2.2 meets or exceeds the testing needs of these emerging trends
    in Web Services testing by offering the following new functionality:
    1. Automatic and customizable test script generation for XML data types – FirstACT
    2.2 will generate complete test scripts and allow the user to graphically customize
    test data without requiring programming. FirstACT now includes a simple-to-use XML
    editor for data entry or more advanced SOAP request customization.
    2. Scalability Guarantee – FirstACT 2.2 has been designed to be highly scalable to
    performance test Web Services. Customers using FirstACT today regularly simulate
    between several hundred to several thousand users. Empirix will guarantee to
    performance test the numbers of users an organization needs to test to meet its business
    needs.
    3. Importing Existing Test Scripts – FirstACT 2.2 can now import existing SOAP request
    directly into the tool on a user-by-user basis. As a result, some users simulated
    can import SOAP requests; others can be automatically generated by FirstACT.
    Web Services facilitates the easy exchange of business-critical data and information
    across heterogeneous network systems. Gartner estimates that 75% of all businesses
    with more than $100 million in sales will have begun to develop Web Services applications
    or will have deployed a production system using Web Services technology by the end
    of 2002. As part of this move to Web Services, "vendors are moving forward with
    the technology and architecture elements underlying a Web Services application model,"
    Gartner reports. While this model holds exciting potential, the added protocol layers
    necessary to implement it can have a serious impact on application performance, causing
    delays in development and in the retrieval of information for end users.
    "Today Web Services play an increasingly prominent but changing role in the success
    of enterprise software projects, but they can only deliver on their promise if they
    perform reliably," said Steven Kolak, FirstACT product manager at Empirix. "With
    its graphical user interface and extensive test-case generation capability, FirstACT
    is the first Web Services testing tool that can be used by software developers or
    QA test engineers. FirstACT tests the performance and functionality of Web Services
    whether they are built upon J2EE, .NET, or other technologies. FirstACT 2.2 provides
    the most comprehensive Web Services testing solution that meets or exceeds the changing
    demands of organizations testing Web Services for performance, functionality, and
    functionality under load.”
    Learn more?
    Read about Empirix FirstACT at http://www.empirix.com/FirstACT. FirstACT 2.2 is
    available for free evaluation immediately at http://www.empirix.com/TryFirstACT.
    Pricing starts at $4,995. For additional information, call (781) 993-8500.

    Simon,
    I will admit, I almost never use SQL Developer. I have been a long time Toad user, but for this tool, I fumbled around a bit and got everything up and running quickly.
    That said, I tried the new GeoRaptor tool using this tutorial (which is I think is close enough to get the jist). http://sourceforge.net/apps/mediawiki/georaptor/index.php?title=A_Gentle_Introduction:_Create_Table,_Metadata_Registration,_Indexing_and_Mapping
    As I stumble around it, I'll try and leave some feedback, and probably ask some rather stupid questions.
    Thanks for the effort,
    Bryan

  • Looking for a Performance testing tool

    We want to stress test our multiserver Adobe Connect before putting into production.  HP tool was not successful.  Any Recommendations on tool and method?

    Cameron,
    Thanks for your input! Sounds like you are probably using these
    products.
    I saw the PerformAssure demo. Their GUI is very slick!! PerformAssure
    does some cool stuff like comparing EJB metrics with system metrics
    and were able to show me the EJB method that was causing a problem
    with a petstore application.
    I heard about this new tool from a company called Performant
    (http://www.performant.com). I am signed up for a demo with these
    folks. Will let you all know what I find.
    I looked at Wily site and didn't persue them as they seem to be
    deployable in the production environment. Our application is not live
    yet, but we want to be able to make sure it can handle good load ;)
    Thanks!
    --N
    "Cameron Purdy" <[email protected]> wrote in message news:<[email protected]>...
    I haven't had a chance yet to look at Sitraka's software, but Precise
    Indepth/J2EE and Wily Introscope are both pretty popular with Weblogic, and
    I think they both do a good job of what they do.
    Peace,
    Cameron Purdy
    Tangosol, Inc.
    http://www.tangosol.com/coherence.jsp
    Tangosol Coherence: Clustered Replicated Cache for Weblogic
    "Neil" <[email protected]> wrote in message
    news:[email protected]..
    Hello All!
    I need help! I am trying to find out which of the tools is better
    suited for me to be able to do performance testing of an application
    under load.
    I am looking for a tool that can provide me detailed application
    performance metrics. Seems like both Insight and Perform Assure can do
    this job for me.
    If any of you have had experience with using performance tools such as
    Prescise Insight or Sitraka's Perform Assure I would appreciate any
    input you might have on your usage experience of these tools.
    Also if you know of any other tools that might provide similar
    information such as the above tools, that would be really helpful.
    Thanks a bunch!
    Neil.

  • Loadrunner 12 for Mobile Performance Testing

    I need to know does HP Load runner or UFT supports telecom protocols such as
    MML
    SMPP
    DCC
    SFTP
    SOAP
    can it support telecom apps
    SMS
    MMS
    testing calls etc.. If yes then how?

    Hi Marc,
    Have a look at tx. R3AR2 / R3AR3 / R3AR4 to load data from CRM to the CDB (and further to the mobile clients). You should be able to schedule the creation of such data loads also as a job: e.g. if you define a request for 1 BP and start this every 3 seconds, this would be equivalent to a BP change every 3 seconds. The same is true for sales orders or activities.
    An alternative would be to use the ASCII Adapter (see help.sap.com) on this to mass-generate also BDocs.
    I am not a Windows / network guy, so I cannot say how to measure performance here. But nevertheless you should have a look at commstation behaviour and also client behaviour if you execute such tests, as esp. client data processing is taking very long times if there is too many data sent to the clients.
    Hope this helps,
    Kai

  • Performance Testing - Upgrade from 4.6B to ECC6.0

    Hi,
    We are doing an upgrade from SAP 4.6B to ECC6.0. I would like to know what would be the best approach for doing a performance test in an upgrade project. More specifically,
    1. What are the main components that need to be tested for performance?
    2. What are the important transaction codes/external applications (if any) that can be used to do performance testing in both 4.6B and ECC6.0? (ST05 or ST30 or something else?)
    3. Any best practice recommended by SAP for doing performance tests?
    Thanks in Advance,
    Reena

    > We are doing an upgrade from SAP 4.6B to ECC6.0. I would like to know what would be the best approach for doing a performance test in an upgrade project. More specifically,
    >
    > 1. What are the main components that need to be tested for performance?
    Those components you use.
    > 2. What are the important transaction codes/external applications (if any) that can be used to do performance testing in both 4.6B and ECC6.0? (ST05 or ST30 or something else?)
    What is "important" for you?
    Markus

  • Performance Test - Massive data generation

    I would like to generate a massive quantity of date in SAP ERP, to be extracted by SAP BW, in an effort to create a baseline Volume of 1-2 TB of data for a performance Test Activity in BW.
    We're investigating tools like Quest's DataFactory which generates date directly on the Oracle Tables.
    Does anyone have experiences with such activities or scenarios.

    Hi,
    on the search for another tool i found this one
    http://www.turbodata.ca/help/testdatageneratoroverview.htm
    Claudius

  • Performance test planning:  timing

    Hi folks,
    I'm wondering if anyone has suggestions or input on the timing of test planning specific to performance testing. In particular, how far in advance is it recommended that performance test planning would begin in reference to the intended test window(s)

    Hi Jack,
    My preference is to start planning for a performance test as soon as possible, even before there is an application to test.
    The first stage in planning should be an analysis of how the application will be used. This information can be gathered from a business plan if the application is new, or from site usage metrics from tools like Omniture or Web Trends if the application is presently deployed.
    From the business plan or metrics you can begin to work out the key transactions (most heavily used and most business critical), as well as planning how users will execute those transaction (what percentages, what think times, etc).
    Then as the test date gets closer and the application becomes available/stable/etc you can begin to flesh out the details of the plan. But the overall goals, analysis and high level planning can begin very early in the development cycle.
    CMason
    Senior Consultant - eLoadExpert
    Empirix

  • SAP Performance Testing - Manual or Automated?

    Our organization is attempting to develop a regular performance testing effort.  Everything wehave read points to using a tool, such as LoadRunner, to do performance testing.  However, we're just starting and simply want to baseline several transactions, jobs, programs, etc (less than 30 items).  We have tools to monitor the backend results and grab metrics, but no tools to automate the testing itself.  Does anyone do their performance testing manually?  What are some advantages to doing this?

    Hi Yogi,
    I think HP LoadRunner is one of the best tools for SAP performance testing. I did it for many years. It is now included with Solution Manager. Here is the link for for HP Mercury regarding performance testing.
    https://h10078.www1.hp.com/cda/hpms/display/main/hpms_content.jsp?zn=bto&cp=1-11-126_4000_100__
    Please check this site as well, it has lot of valuable information.
    http://www.wilsonmar.com/1loadrun.htm
    Regards, Nabi.

  • MSI Z97 GAMING 3 Review--Performance Testing

    After the previous hardware and software introduction, I believe Z97 GAMING 3 will meet gamers’ expectation.
     Z97 GAMING 3 integrated with Killer E2200 LAN, Audio Boost 2, M.2 interface and the normal array of connections,
    It is truly a good gaming motherboard. Could all these features offer great performance and a good experience?
    Today I will test the performance of Z97 GAMING 3 and how good it is.
    MSI Z97 GAMING 3 Testing
    My test platform is MSI Z97 GAMING 3, Intel ® Core i7-4770K and MSI GeForce GTX 750 graphics card. The test
    consists of two parts:
    CPU Performance: Super PI, PC Mark Vantage and Cinebench R11.5.
    GAMING Performance: 3DMARK 11, Evil 6 Benchmark and FFXI Benchmark.
    Test Part 1
    CPU : Intel Core i7-4770K @ 3.5 GHz
    CPU Cooler : Thermaltake TT-8085A
    Motherboard : MSI Z97 GAMING 3
    RAM : Corsair DDR 3-1600 4GB X 2
    PSU : Cooler Master 350W
    OS : Windows 7 64 bit
    Basic performance testing (CPU setting by default)
    CPU Mark Score : 679.
    Super PI 32M Result – 8m53.897s.
    Graphics Performance Testing:3DMark 11
    3DMark 11 is designed to measure  PC’s performance. It makes extensive use of all the new features in DirectX 11
    including Tessellation, Compute Shader and Multi-threading.
    Intel ® HD4600 iGPU in 3DMark 11 Basic mode testing, the results is X385 Score.
    Performance mode test score is P1511 .
    System Performance:PCMark Vantage
    PCMark Vantage is a PC analysis and benchmarking tool consisting of a mix of applications such as based and
    synthetic tests that measure system performance.
    From the test results, the score of Z97 GAMING 3 with Intel ® HD4600 iGPU is 11,946.
    MSI  GeForce GTX 750 Testing
    Test  Part 2
    CPU : Intel Core i7-4770K @ 3.5 GHz
    CPU Cooler : Thermaltake TT-8085A
    Motherboard : MSI Z97 GAMING 3
    Graphics Card:MSI GeForce GTX 750
    RAM : Corsair DDR 3-1600 4GB X 2
    PSU : Cooler Master 350W
    OS : Windows 7 64 bit
    Graphics Performance Testing:3DMark 11
    Z97 GAMING 3 with GeForce GTX 750 the test scores is X1653 in 3DMark 11 basic test mode, The performance
    mode test score is P5078.
    System Performance:PC Mark Vantage
    From the test results, Z97 GAMING 3 with GeForce GTX 750 scores 11,518.
    System Performance:Cinebench R11.5 
    Cinebench is the software developed by MAXON Cinema 4D. Cinebench could test CPU and GPU performance with
    different processes at the same time. For the CPU part, Cinebench test the CPU performance by displaying a HD 3D
    scene. For the GPU part, Cinebench test GPU performance based on OpenGL capacity.
    Main Processor Performance (CPU) - The test scenario uses all of your system's processing power to render a photorealistic
    3D scene. Graphics Card Performance (OpenGL) - This procedure uses a complex 3D scene depicting a car chase which
    measures the performance of your graphics card in OpenGL mode.
    In Cinebench R11.5 test, MSI Z97 GAMING 3 with GeForce GTX 750 multi-core test is 6.87pts; OpenGL score is 73.48 fps.
    Z97 GAMING 3 with HD 4600 and GeForce GTX 750 in the GAME Benchmark Test
    For game performance testing, I will use Resident Evil 6 and FFXI Benchmark with the same platform.
    Evil 6 Benchmark
    CPU: Core i7-4770K
    Game resolution setting: 1920X1080
    Other setting: Default
    In the Z97 GAMING 3 with Intel® HD4600 iGPU platform, score:1175 (Rank D)
    In the Z97 GAMING 3 with GeForce GTX 750 platform, score: 5874 (Rank A)
    I use Fraps tool to record FPS status during benchmark testing.The Z97 GAMING 3 with GeForce GTX 750 average
    FPS is 202. The Z97 GAMING 3 with Intel® HD4600 iGPU average FPS is 32.
    FFXIV Benchmark
    CPU: Core i7-4770K
    Game resolution setting: 1920X1080
    Other setting: Default
    The 1920X1080 resolution, Intel® HD4600 iGPU score is only 910.
    However, the GeForce GTX 750 testing score is 4167. According to the official classification system, the score
    between 3000 to 4499 means high performance.
    I use Fraps tool to recorded FPS status during benchmark testing.
    the GeForce GTX 750 average FPS is 111.  Intel® HD4600 iGPU average FPS is 19.
    Test Summary
    MSI Z97 GAMING 3 is not very expensive. It has many features which are specially designed for gaming experience
    and good performance of benchmarks. Even in 1920x1200 resolution and high quality display setting, Z97 GAMING 3
    with Intel Core i7-4770K and MSI GeForce GTX 750 can easily handle any kind of games. The FPS of this system is
    higher than 60 and users will enjoy no lag as gaming. It is really a good and afforadable chioce for gamers.

    Thx for the sharing, since there are not much reviews about Z97 GAMING 3. 

  • Inline performance testing

    Hello,
    I'm looking for a performance testing product that I can run inline with an antivirus product  to guage the impact on performance while a full scan is running. I've looked into software like PCMark7 and SiSandra but it's not quite what I'm looking for. Your suggestions are greatly appreciated!
    This topic first appeared in the Spiceworks Community

    Dear Customer,
    Testing application with load runner sometimes generates some undesirable results.
    This could be mainly due to algorithm you are following for load runner scripts. There might be issue of load runner inducing the sequence of actions without giving think time to application and hence further scripts might be failing.
    I would suggest, have some think time/delay in your load runner scripts and see if that helps.
    I hope it helps.
    Best Regards,
    Chetan

  • Can Web Performance Test work on AJAX or Javascript Project which will show only one URL for all the pages?

    Hi there,
    I'm working on testing a AJAX and JavaScript Project which has several pages but all in the same URL. I need to test some attribute on the page or parameter past by AJAX or Javascript. Can Web Performance Test work to get what I want?
    Thanks,
    

    Hello,
    Thank you for your post.
    Web performance test is used to test if a server responses correctly and the response is consistent with what we expected. And we test the response speed, the stability and scalability.
    The Web Performance Test Recorder records both AJAX requests and requests that were submitted from JavaScript, but
     web test does not execute JavaScript. I am afraid that you can’t use web test to test parameter past by AJAX or JavaScript.
    Please see:
    Web Performance Test Engine Overview
    About JavaScript and ActiveX Controls in Web Performance Tests
    From the first link, “Client-side scripting that sets parameter values or results in additional HTTP requests, such as AJAX, does affect the load on the server and might require you to manually modify the Web Performance Test to simulate the scripting.”
    If you want to execute the function typically performed by script in web test, you need to accomplish it in coded web performance test or a web performance test plugin. Please see:
     How to: Create a Coded Web Performance Test
    How to: Create a Web Performance Test Plug-In
    I am not sure what the ‘some attribute on the page’ is. If you mean that you want to test those controls on the page, you can do coded UI test, which can test that the user interface for an application functions correctly. The coded UI test performs actions
    on the user interface controls for an application and verifies that the correct controls are displayed with the correct values. You can refer to this article for detailed information about code UI test:
    Verifying Code by Using Coded User Interface Tests
    Best regards,
    Amanda Zhu [MSFT]
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • How to setup the environment for doing the Performance Testing?

    Hi,
    We are planning to start the performance testing for iProcurement Product, Max number of user we are going to use 1000. For this simulation, what are all basic setups need to do for Application Tier, Database Tier,etc... Can anyone suggest what is procedure to setup environment depending upon the load?

    User Guides for thee rv120W are here:
    http://www.cisco.com/en/US/docs/routers/csbr/rv220w/quick_start/guide/rv220w_qsg.pdf
    http://www.cisco.com/en/US/docs/routers/csbr/rv120w/administration/guide/rv120w_admin.pdf
    and theres some more stuff over on my site:
    http://www.linksysinfo.org/index.php?forums/cisco-small-business-routers-and-vpn-solutions.49/

  • FOR i IN 1..htmldb_application.g_f01.COUNT LOOP

    Hello,
    I have created a report query as below
    SELECT
    ROWNUM,
    x.household_org_affil_id,
    x.hoaf_effective_date,
    x.hoaf_terminate_date,
    x.partner_organization,
    x.primary_type,
    x.relationship_type ,
    x.affiliated_person_id,
    x.chksum,
    x.del
    FROM (SELECT
    htmldb_item.hidden(1,household_org_affil_id) household_org_affil_id,
    wwv_flow_item.date_popup(2,NULL,vbhoaf.effective_date) hoaf_effective_date,
    wwv_flow_item.date_popup(3,NULL,vbhoaf.terminate_date) hoaf_terminate_date,
    htmldb_item.display_and_save(4,partner_common_name) partner_organization,
    htmldb_item.HIDDEN(5,affiliated_person_id) affiliated_person_id,
    htmldb_item.display_and_save(6,primary_type) primary_type,
    htmldb_item.display_and_save(7,relationship_type_dis) relationship_type,
    htmldb_item.md5_checksum(
    household_org_affil_id,
    vbhoaf.effective_date,
    vbhoaf.terminate_date) chksum,
    htmldb_item.checkbox(50, household_org_affil_id, (case when vbhoaf.terminate_date is null then 'DISABLED' else NULL end)) del
    FROM vb_household_org_affil vbhoaf
    JOIN vb_household_membership vbhm
    ON vbhoaf.family_household_id = vbhm.family_household_id
    JOIN vb_partner_organization vbpo
    ON vbpo.partner_organization_id = vbhoaf.partner_organization_id
    WHERE :P1580_AFFILIATED_PERSON_ID IS NOT NULL
    AND vbhm.affiliated_person_id = :P1580_AFFILIATED_PERSON_ID) x
    But if I am trying to loop as below
    FOR i IN 1 .. htmldb_application.g_f01.COUNT LOOP
    I am getting an error 'no data found' as like the array g_f01 does not exist. But If I am refering g_f02, that is ok but that is not the one I want.
    Can you anyone please help me to find what is wrong.
    Thanks in advance,
    Nattu

    Hello Nattu,
    Although it seems that your query is working in the way you wrote it, I believe it makes more sense (at least for me) that the use of the APEX API will be within the main query and not within the sub-query.
    In your case, as you created the household_org_affil_id column as hidden one, you probably don’t want to display it. Did you uncheck the “Show” attribute for this column? In this case the column don’t get to be POSTed, and the corresponding G_Fxx array will be empty.
    In order to correct that, and still get a presentable report, you need to concatenate the hidden column with a column you are displaying. This way the hidden values will be populated to the corresponding G_Fxx array. You can try something like this:
    SELECT ROWNUM
    htmldb_item.hidden(1,household_org_affil_id) ||
    wwv_flow_item.date_popup(2,NULL,vbhoaf.effective_date) hoaf_effective_date,
    from (select  x.hoaf_effective_date, . . .
               from vb_household_org_affil vbhoaf x
               where . . . )
    @ ines:
    There isn’t any problem to use G_F01 to accommodate a hidden column. The example in the documentation is doing just that - http://download.oracle.com/docs/cd/E10513_01/doc/appdev.310/e10499/api.htm#sthref2857 .
    Hope this helps,
    Arie.

  • TCode for abap program performance testing

    Hi
    I have tuned a abap program which was consuming lot of time. I still have the old version with diff name. I would like to know the tcodes where in i could see the performance of the program.
    regards
    Balaji

    Hi balaji,
    This is kiran Kumar.G.I will give some steps.you better to follow those steps to get ur report performance.
    If u r satisfy with my answer give me REWARD POINTS.
                HAVE A NICE DAY.
    STEPS:
    1.OPEN UR REPORT IN SE38 TRANSACTION.
    2.SELECT THE MENU PATH
      UTILITIES-->MORE UTILITIES-->RUNTIME ANALYSIS
    3.SELECT THE PROGRAM RADIO BUTTON AND GIVE UR REPORT NAME THERE.AND CLICK <b>EXECUTE</b> BUTTON
    4.IT WILL TAKE U TO ANOTHER SCREEN THERE U CAN EXECUTE UR REPORT AND COME BACK.
    5.CLICK ON ANALYZE BUTTON.(PRESENT IN BELOW OF THE SCREEN).
    THEN U WILL GET ONE GRAPH
    NOTE:
    1.IF IT IS RED UR PROGRAM IS HAVING VERY POOR PERFORMANCE
    2.IF IT IS GREEN IT IS OK.
    ABAP GRAPH : TELLS UR CODING IN THE REPORT.
    DATABASE  GRAPH : U R RETREIVE DATA FROM DATABASE IN UR REPORT..
    SOME STEPS USED TO IMPROVE UR PERFORMANCE:
    1.     Avoid using SELECT...ENDSELECT... construct and use SELECT ... INTO TABLE.
    2.     Use WHERE clause in your SELECT statement to restrict the volume of data retrieved.
    3.     Design your Query to Use as much index fields as possible from left to right in your WHERE statement
    4.     Use FOR ALL ENTRIES in your SELECT statement to retrieve the matching records at one shot.
    5.     Avoid using nested SELECT statement, SELECT within LOOPs.
    6.     Avoid using INTO CORRESPONDING FIELDS OF TABLE. Instead use INTO TABLE.
    7.     Avoid using SELECT * and Select only the required fields from the table.
    8.     Avoid nested loops when working with large internal tables.
    9.     Use assign instead of into in LOOPs for table types with large work areas
    10.     When in doubt call transaction SE30 and use the examples and check your code
    11.     Whenever using READ TABLE use BINARY SEARCH addition to speed up the search. Be sure to sort the internal table before binary search. This is a general thumb rule but typically if you are sure that the data in internal table is less than 200 entries you need not do SORT and use BINARY SEARCH since this is an overhead in performance.
    12.     Use "CHECK" instead of IF/ENDIF whenever possible.
    13.     Use "CASE" instead of IF/ENDIF whenever possible.
    14.     Use "MOVE" with individual variable/field moves instead of "MOVE-
    CORRESPONDING", creates more coding but is more effcient.
    Regards,
    Kiran Kumar.G

  • [Help] How you guys do the performance test for Hyperion?

    Dear All,
    Currently, we are building the performance test scripts by using the QALoad. We have identified the following areas for the test.
    * Planning Data Form
    * Financial Report
    * SmartView
    However, we hit a number of question.
    For Financial Report, when the recorded scripts were playback, we cannot see any pdf files generated under folder $BIPLUS_HOME/temp/.
    For SmartView, the recorded scripts just don't work after the Hyperion Services were restarted.
    Does anyone have any experience on doing performance test for Hyperion, especially using QALoad? Is there any technical reference out there we can read?
    Regards,
    Martin

    When we playback the QALoad script for Financial Report, we got the following error response!
    As you know, when opening an Finacial Report, it will auto login the Datasource. There is no need to provide the username/password. We are wondering if this is related to our problem or not. Please kindly help. We have been spending days/weeks to record the testing scripts.
    Does anyone has any idea?
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <BpmResponse type="error" action="">
    <code>5517</code>
    <desc>Logon Failed, User Name must not be empty</desc>
    <trace>com.hyperion.reporting.util.HyperionReportException: Logon Failed, User Name must not be empty
         at com.hyperion.reporting.api.HRReports.Authorize(Unknown Source)
         at com.hyperion.reporting.api.HRReports.Authenticate(Unknown Source)
         at modules.com._hyperion._reporting._web._reportviewer._HRRunDlg._jspService(_HRRunDlg.java:1075)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at com.hyperion.reporting.webviewer.HRLocaleFilter.doFilter(Unknown Source)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:797)
    </trace>
    </BpmResponse>
    Regards,
    Martin

Maybe you are looking for

  • I have fully updated firefox and flash however my sound still dosnt work?

    the sound work perfectly on my computer one day and the next the sound just stopped working, it is only on the internet my iTunes ect still work. i have updated everything and have checked my computer for viruses and have found nothing. can anyone he

  • Creating a percent graph in a column in table

    Hi, I would like to display a percent bar graph which has contextual information corresponding to the particular row in a column of the table. When I drag a separate data control to the column, it is displaying all the bars corresponding to all rows

  • Regenerating output for archived billing document

    Hi, As TCODE=VF31 can not generate output from archived billing documents, I would kindly ask you if is there any other alternative standard SAP way to do it ? Thanking in advance for your help, best regards Joseph Sangoi

  • N80 - Can't turn off the loudspeaker

    Couldn't find any other probs like this so I hope someone can help. Its just started happening without me making any profile changes. All my calls, incoming or dialled, are on loudspeaker. Could be V. embarrassing!!Doesn't matter how much I push the

  • Converting from H.264 to DV

    I need to convert some .MOVs that are H.264 to DV, because they need to output on Canopus Video output device that requires DV. The .MOV looks great. The DV output from Quicktime Pro looks pretty crappy, even though the file is nine times bigger. The