All Projects → wix → Import Cost

wix / Import Cost

Licence: mit
displays the import size of the package you are importing inside the code editor

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Import Cost

Nemetric
前端性能指标的监控,采集以及上报。用于测量第一个dom生成的时间(FP/FCP/LCP)、用户最早可操作时间(fid|tti)和组件的生命周期性能,,网络状况以及资源大小等等。向监控后台报告实际用户测量值。
Stars: ✭ 145 (-85.8%)
Mutual labels:  performance, performance-analysis, webperf
Watchdoginspector
Shows your current framerate (fps) in the status bar of your iOS app
Stars: ✭ 497 (-51.32%)
Mutual labels:  performance, performance-analysis, performance-visualization
Heapinspector For Ios
Find memory issues & leaks in your iOS app without instruments
Stars: ✭ 1,819 (+78.16%)
Mutual labels:  performance, performance-analysis, performance-visualization
Sparklens
Qubole Sparklens tool for performance tuning Apache Spark
Stars: ✭ 345 (-66.21%)
Mutual labels:  performance, performance-analysis, performance-visualization
Myperf4j
High performance Java APM. Powered by ASM. Try it. Test it. If you feel its better, use it.
Stars: ✭ 2,281 (+123.41%)
Mutual labels:  performance, performance-analysis, performance-visualization
Imageoptim Cli
Make optimisation of images part of your automated build process
Stars: ✭ 3,215 (+214.89%)
Mutual labels:  performance, webperf
Loopy
A code generator for array-based code on CPUs and GPUs
Stars: ✭ 367 (-64.05%)
Mutual labels:  performance, performance-analysis
Performance
⏱ PHP performance tool analyser your script on time, memory usage and db query. Support Laravel and Composer for web, web console and command line interfaces.
Stars: ✭ 429 (-57.98%)
Mutual labels:  performance, performance-analysis
Happypack
Happiness in the form of faster webpack build times.
Stars: ✭ 4,232 (+314.5%)
Mutual labels:  webpack, performance
performance-budget-plugin
Perfromance budget plugin for Webpack (https://webpack.js.org/)
Stars: ✭ 65 (-93.63%)
Mutual labels:  performance-analysis, webperf
Why Did You Update
💥 Puts your console on blast when React is making unnecessary updates.
Stars: ✭ 4,089 (+300.49%)
Mutual labels:  performance, performance-analysis
Pprof
pprof is a tool for visualization and analysis of profiling data
Stars: ✭ 4,990 (+388.74%)
Mutual labels:  performance, performance-analysis
Webpack Libs Optimizations
Using a library in your webpack project? Here’s how to optimize it
Stars: ✭ 3,187 (+212.14%)
Mutual labels:  webpack, performance
Sqip
"SQIP" (pronounced \skwɪb\ like the non-magical folk of magical descent) is a SVG-based LQIP technique.
Stars: ✭ 3,074 (+201.08%)
Mutual labels:  performance, webperf
Webpack Lighthouse Plugin
A Webpack plugin for Lighthouse
Stars: ✭ 271 (-73.46%)
Mutual labels:  webpack, performance
Sitespeed.io
Sitespeed.io is an open source tool that helps you monitor, analyze and optimize your website speed and performance, based on performance best practices advices from the coach and collecting browser metrics using the Navigation Timing API, User Timings and Visual Metrics (FirstVisualChange, SpeedIndex & LastVisualChange).
Stars: ✭ 4,255 (+316.75%)
Mutual labels:  performance-analysis, webperf
Speedtracker
📉 Visualisation layer and data store for SpeedTracker
Stars: ✭ 482 (-52.79%)
Mutual labels:  performance-visualization, webperf
Performance Bookmarklet
Performance-Bookmarklet helps to analyze the current page through the Resource Timing API, Navigation Timing API and User-Timing - requests by type, domain, load times, marks and more. Sort of a light live WebPageTest.
Stars: ✭ 997 (-2.35%)
Mutual labels:  performance, webperf
Public
Repository for wallaby.js questions and issues
Stars: ✭ 662 (-35.16%)
Mutual labels:  webpack, vscode
Bundle Buddy Webpack Plugin
🐐🐐🐐🐐 bundle-buddy-webpack-plugin 🐐🐐🐐🐐
Stars: ✭ 199 (-80.51%)
Mutual labels:  webpack, performance

Import Cost Build Status Build status

This extension will display inline in the editor the size of the imported package. The extension utilizes webpack in order to detect the imported size.

Example Image

This project includes implementation of:

Enjoy!

Third-Party Editor Plugin Links

Why & How

I detail the Why and How in this blog post: https://citw.dev/posts/import-cost

Developer guidelines

In this project we use lerna for managing the multiple packages.

Getting started

In order to start working all you need to do is:

$ git clone [email protected]:wix/import-cost.git
$ npm install
$ code packages/import-cost
$ code packages/vscode-import-cost

Once VSCode workspaces are open:

  • Hit F5 to run tests in import-cost
  • Hit F5 to run the vscode-import-cost extension in debug mode

Applying changes

Thanks to lerna, we have a symbolic link in the vscode-import-cost node modules folder to the local import-cost, which makes applying changes very easy. You can verify that link exists by running the following command:

$ ls -la packages/vscode-import-cost/node_modules | grep import-cost
lrwxr-xr-x    1 shahart  staff    17 Aug  6 09:38 import-cost -> ../../import-cost

If anything goes wrong and link does not exist, just run the following commands at the root of this project and lerna will sort it out:

$ git clean -xdf
$ npm install

After you make any changes to the import-cost node module, don't forget to trigger transpilation in order to see those changes when running the vscode-import-cost extension:

$ npm test

Publishing changes

When you are ready to publish a new version of the extension, you first need to publish a new version of import-cost (unless nothing changed there). This is done by first commiting all your changes, then simply run the following commands:

$ cd packages/import-cost
$ npm version patch | minor | major
$ git commit -a -m "releasing version X.X.X"
$ git push
$ npm publish

Then go ahead and release the extension with almost same steps (except for last one):

$ cd packages/vscode-import-cost
$ npm version patch | minor | major
$ git commit -a -m "releasing version X.X.X"
$ git push
$ git clean -xdf && npm install && vsce publish

See how in the last step we had to clean everything and do a clean npm install in the extension folder? This is an important step so that vsce publish will bundle everything correctly when publishing the extension. After that's done, you'll need to run following command so that lerna will sort everything out again:

$ cd ../..
$ git clean -xdf
$ npm install

Don't forget to update README.md with details of what is new in the released version...

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].