Power Efficient Callback Patterns
    2.
    发明申请
    Power Efficient Callback Patterns 有权
    高效回拨模式

    公开(公告)号:US20130067489A1

    公开(公告)日:2013-03-14

    申请号:US13229630

    申请日:2011-09-09

    IPC分类号: G06F3/00 G06F9/46 G06F9/44

    摘要: In one or more embodiments, an application program interface (API) is provided and enables an entity, such as an application, script, or other computing object to register to receive callbacks immediately and, without specifying a time constraint. In this approach, the API does not rely on a timer, such as a system timer. Rather, a non-timer based queue, such as a message queue-type approach is utilized. Specifically, callbacks that are registered through this API can be placed on the message queue and work associated with the registered callback can be performed through the normal course of processing messages and events in the message queue. Over time, such results in a callback pattern that allows an associated web browser and applications such as web applications to remain responsive, while increasing performance and power efficiencies.

    摘要翻译: 在一个或多个实施例中,提供了一种应用程序接口(API),并使诸如应用程序,脚本或其他计算对象之类的实体能够立即注册以接收回调,并且不指定时间约束。 在这种方法中,API不依赖于定时器,例如系统定时器。 相反,使用基于非定时器的队列,例如消息队列类型方法。 具体来说,通过该API注册的回调可以被放置在消息队列上,并且可以通过处理消息队列中的消息和事件的正常过程来执行与注册的回调相关联的工作。 随着时间的推移,这种结果导致回调模式,允许相关联的Web浏览器和应用程序(如Web应用程序)保持响应,同时提高性能和功耗效率。

    Persistent Storage of Profile Data for Script Compilation
    3.
    发明申请
    Persistent Storage of Profile Data for Script Compilation 审中-公开
    用于脚本编译的配置文件数据的持久存储

    公开(公告)号:US20130227388A1

    公开(公告)日:2013-08-29

    申请号:US13406798

    申请日:2012-02-28

    IPC分类号: G06F17/00

    摘要: A client application, such as an HTTP client, stores script profile data associated with JavaScript compilation as metadata in a cache, such as an HTTP indexed cache, for a given entry. Accessing the indexed data can be performed much faster without incurring additional disk input/output operations, thus facilitating compilation activities. In addition, an identifier such as the script URL can be used to efficiently enable compilation across websites that commonly utilize the same JavaScript.

    摘要翻译: 诸如HTTP客户端的客户端应用程序将与JavaScript编译相关联的脚本配置文件数据作为元数据存储在缓存中,例如针对给定条目的HTTP索引缓存。 访问索引数据可以更快地执行,而不会导致额外的磁盘输入/输出操作,从而便于编译活动。 此外,可以使用诸如脚本URL的标识符来有效地实现通常使用相同JavaScript的网站之间的编译。