Skip to content

Instantly share code, notes, and snippets.

@ExtAnimal
Created January 19, 2012 20:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ExtAnimal/1642409 to your computer and use it in GitHub Desktop.
Save ExtAnimal/1642409 to your computer and use it in GitHub Desktop.
ExtJS load + startup test
<html>
<head>
<title>Load + Startup test</title>
<link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
<script type="text/javascript">
window.start = new Date().getTime();
</script>
<script type="text/javascript" src="../../ext-all.js"></script>
<script type="text/javascript">
Ext.require(['*']);
Ext.onReady(function(){
Ext.getBody().update('Time to process ext-all.js: ' + Ext.processTime + ' ms.<br>Loading ExtJS and getting to ready state took ' + (new Date().getTime() - window.start) + ' ms');
});
</script>
</head>
<body>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment