44
55![ fist paint] ( https://raw.githubusercontent.com/bahmutov/code-snippets/master/first-paint-code-snippet.png )
66
7- Read [ Code Snippets tutorial] [ 1 ] and
8- [ How to improve Angular application performance using code snippets] [ 2 ] .
7+ Read [ Code Snippets tutorial] [ 1 ] ,
8+ [ Performance profiling using DevTools code snippets] [ 2 ] and
9+ [ How to improve Angular application performance using code snippets] [ 3 ] .
910
1011## Snippets
1112
12- ### generic performance
13+ ### DOM and CPU generic performance
1314
1415* [ boilerplate.js] ( boilerplate.js ) - boilerplate for loading and running a remote code script
1516(see [ remote download] ( #remote-download ) ).
@@ -18,6 +19,9 @@ Read [Code Snippets tutorial][1] and
1819from [ addyosmani/timing.js] ( https://github.com/addyosmani/timing.js ) .
1920* [ time-method-call.js] ( time-method-call.js ) - measures single method call time.
2021* [ profile-method-call.js] ( profile-method-call.js ) - profiles a single method call.
22+
23+ ### Storage measurements
24+
2125* [ local-storage-size.js] ( local-storage-size.js ) - measures size of the strings in the ` localStorage ` .
2226* [ expensive-keys.js] ( expensive-keys.js ) - measures how much space individual keys and their values
2327take up in a collection of objects, read [ Measuring Space Allocation] [ measure ] .
@@ -84,5 +88,6 @@ Support: if you find any problems with this module, email / tweet /
8488[ open issue] ( https://github.com/bahmutov/code-snippets/issues?state=open ) on Github
8589
8690[ 1 ] : http://bahmutov.calepin.co/chrome-devtools-code-snippets.html
87- [ 2 ] : http://bahmutov.calepin.co/improving-angular-web-app-performance-example.html
91+ [ 2 ] : http://bahmutov.calepin.co/performance-profiling-using-devtools-code-snippets.html
92+ [ 3 ] : http://bahmutov.calepin.co/improving-angular-web-app-performance-example.html
8893[ measure ] : http://bahmutov.calepin.co/measure-space-allocation.html
0 commit comments