Seek answers to Flex desktop CPU utilization optimization problems

2010-04-14  来源:本站原创  分类:Flash  人气:185 

I develop desktop applications using Flex a project, when a long running time, when, cpu usage is high, generally to 50 per cent, causing the program finishes off. . .

The problem is I have long puzzled

Procedure is used setInterval 1 minute refresh the frame of a test project.

I have been to use the Internet found to reduce the cpu control the use of frames, I like this in my project using:

var na:NativeApplication = NativeApplication.nativeApplication;
      if (na.openedWindows.length > 0) {
       na.openedWindows[0].stage.frameRate = 3;
   }

Cpu usage after such use has improved, but the cpu usage will gradually increase will not reach a constant value

Hope you will give suggestions and optimization methods, little brother grateful to disrespect! !

相关文章
  • Seek answers to Flex desktop CPU utilization optimization problems 2010-04-14

    I develop desktop applications using Flex a project, when a long running time, when, cpu usage is high, generally to 50 per cent, causing the program finishes off. . . The problem is I have long puzzled Procedure is used setInterval 1 minute refresh

  • Dwell Oracle CPU usage optimization 2010-03-29

    http://database.51cto.com/art/200911/163251.htm I am very fond of Oracle, is also at work on the Oracle optimization like CPU usage summary of lessons learned, the following detail on this issue to speak. CPU is an important resource server, the serv

  • CPU utilization curve to listen to your command 2010-04-08

    Problem Write a program that allows the user to determine the Windows Task Manager (Task Manager) the CPU utilization. More streamlined procedures for the better, not limited to computer language. For example, you can achieve the following three case

  • Flex SEO (Search engine optimization), allow your browser to find your flash 2009-11-01

    Flex SEO (Search engine optimization), allow your browser to find your flash site Reprinted from http://qdhbroadway.spaces.live.com/blog/cns!1A95707CECDECA1B!417.entry The blog Search engine optimistation is to make your site information to be "searc

  • Oracle database will always be the case very high CPU utilization 2010-03-15

    Oracle database will always be the CPU utilization is high, this time mostly in the database there is a serious poor performance SQL statements SQL statement that consumed much of the CPU resources, resulting in lower overall system performance. Of c

  • CPU Utilization and Load Average difference? 2010-04-28

    CPU Utilization and Load Average difference? CPU utilization, is a period of time CPU usage statistics, this indicator can be seen through a period of time CPU in a situation of occupation, if the CPU is occupied time high, then the CPU needs to cons

  • java get CPU utilization, system memory, virtual machine memory and so on (without JNI) 2010-05-14

    Recently had an item is to get the system cpu share information, etc., first thought to use the dynamic link library, but later found to be like this do not call jni, this eliminates the need for many to see the new technology time o ( ∩ _ ∩ ) o. ..

  • linux under / proc / stat calculation of CPU utilization (rpm) 2011-01-14

    cpu usage = (idle2-idle1) / (cpu2-cpu1) * 100 cpu usage = [(user_2 + sys_2 + nice_2) - (user_1 + sys_1 + nice_1)] / (total_2 - total_1) * 100 The following were used to bash and perl by doing a calculation of cpu utilization: I Note: The following co

  • linux how to get cpu utilization? 2011-03-13

    "Proc filesystem is a pseudo file system, only a memory of them, rather than external memory space occupied by it to the way the file system to access the operating system kernel to provide the data interface users and applications can obtain system

  • (Study Notes) linux CPU utilization rate under 2011-05-25

    "Proc filesystem is a pseudo file system, only a memory of them, rather than external memory space occupied by it to the way the file system to access the operating system kernel to provide the data interface users and applications can obtain system

  • FLEX collection of memory optimization techniques 2010-03-30

    FLEX memory optimization principles released 1. Is deleted all references to objects in the external must be removed as a clean garbage collection system can be disposed of; 2. Parent child objects within other objects by an external reference, and w

  • [Read notes] jvm performance tool-jstat solution of 100% CPU utilization 2011-05-08

    Read the article: http://www.theserverside.com/news/thread.tss?thread_id=61915 Original content: 100% CPU diagnosis (7 messages) POSTED BY: Richard Mayhew POSTED ON: February 16 2011 11:45 EST On the Java Posse mailing list, someone posted a question

  • (Original) Java endless loop caused by particularly high CPU utilization 2010-03-28

    In Socket programming, to use multi-threading to handle network flow, the client need not stop to listen if there are data over the port, where the basic flow by sending and receiving, DataInputStream read methods are at all blocked, and only availab

  • ActionScript 3 and Flex framework for performance optimization 2010-04-29

    1 Create a new array to avoid using its constructor. To do so: var a = []; Not do this: var a = new Array (); 2 Create the array is a great consumption of the operation, so please be careful for the following types of operations: var vanityCollection

  • ActionScript 3 and the Flex framework for performance optimization 2010-04-29

    1 Create a new array to avoid using its constructor. To do so: var a = []; Not do this: var a = new Array (); 2 Create the array is a great consumption of the operation, so please be careful for the following types of operations: var vanityCollection

  • CPU utilization increased 2010-06-24

    Recent customer production environment (jboss4.2), system operation to a period of time, the customer is reflected in the system slow, and CPU are high, view the error log not found, only part of the Service Method of processing time longer. Monitor

  • C # implementation methods to obtain CPU utilization 2010-10-13

    Needless to say, directly on the code using System; using System.Diagnostics; using System.Threading; public class CpuLoadInfo { // auxiliary print methods private static void Say ( string txt ) { Console.WriteLine(txt); } // auxiliary print methods

  • Flex memory monitoring and optimization techniques 2010-11-04

    Easier to make money at home Flash Player's memory management Assigned to the Flash Player Flash / Flex applications is relatively small majority of the memory, because too many small and frequent memory allocation would be more time-consuming activi

  • Linux, with the top command to see how the understanding of the system CPU utilization 2010-11-18

    Use the top command: top - 09:19:42 up 19 days, 11:03, 3 users, load average: 1.37, 1.54, 1.61 Tasks: 214 total, 3 running, 211 sleeping, 0 stopped, 0 zombie Cpu(s): 10.6% us, 1.6% sy, 0.0% ni, 87.5% id, 0.0% wa, 0.0% hi, 0.3% si Mem: 32910316k total

  • Zhuantie: Linux CPU utilization under the View 2011-02-24

    The top command is commonly used under Linux performance analysis tools, real-time display system in the process of resource consumption of each state, similar to the Windows Task Manager. The following details how to use it. top - 01:06:48 up 1:22,