All Projects → Aniket-Engg → Sol Profiler

Aniket-Engg / Sol Profiler

Licence: mit
CLI Tool to List & Store Solidity Smart Contract Methods Attributes

Programming Languages

javascript
184084 projects - #8 most used programming language
solidity
1140 projects

Projects that are alternatives of or similar to Sol Profiler

profiler
Continuous profiling based on pprof
Stars: ✭ 221 (+1005%)
Mutual labels:  profile, profiler
Androidgodeye
An app performance monitor(APM) , like "Android Studio profiler", you can easily monitor the performance of your app real time in browser
Stars: ✭ 2,430 (+12050%)
Mutual labels:  profile, profiler
Vmprof Python
vmprof - a statistical program profiler
Stars: ✭ 395 (+1875%)
Mutual labels:  profile, profiler
Pyinstrument
🚴 Call stack profiler for Python. Shows you why your code is slow!
Stars: ✭ 3,870 (+19250%)
Mutual labels:  profile, profiler
Tuna
Python profile viewer
Stars: ✭ 399 (+1895%)
Mutual labels:  profile, profiler
Badges4 Readme.md Profile
👩‍💻👨‍💻 Improve your README.md profile with these amazing badges.
Stars: ✭ 929 (+4545%)
Mutual labels:  profile
Solidity Smart Contracts
smart contracts which are built on ethereum wallet mist,truffle compiler using solidity language.
Stars: ✭ 11 (-45%)
Mutual labels:  smart-contracts
Rsvp
rsvp - Realtime Sampling Visual Profiler
Stars: ✭ 26 (+30%)
Mutual labels:  profiler
Gdai.io
gDAI - Gas less DAI transfers by using GSN, Fulcrum and KyberNetwork
Stars: ✭ 26 (+30%)
Mutual labels:  smart-contracts
Augmint Web
Augmint Web Frontend
Stars: ✭ 15 (-25%)
Mutual labels:  smart-contracts
Stanford Drupal Profile
A dev / test-only version of the Drupal Hosting Service Configuration
Stars: ✭ 13 (-35%)
Mutual labels:  profile
Itunes smartplaylist
iTunes Smart playlist parser with Python. Convert to Kodi xsp smart playlists.
Stars: ✭ 10 (-50%)
Mutual labels:  parser
Parse Code Context
Parse code context in a single line of javascript, for functions, variable declarations, methods, prototype properties, prototype methods etc.
Stars: ✭ 7 (-65%)
Mutual labels:  parser
Purepos
PurePos is an open source hybrid morphological tagger.
Stars: ✭ 12 (-40%)
Mutual labels:  parser
Panvala
Sustain Ethereum Together
Stars: ✭ 27 (+35%)
Mutual labels:  smart-contracts
Ymlparser
YML (Yandex Market Language) parser
Stars: ✭ 14 (-30%)
Mutual labels:  parser
Metric Parser
📜 AST-based advanced mathematical parser written by Typescript.
Stars: ✭ 26 (+30%)
Mutual labels:  parser
Vector
A reliable, high-performance tool for building observability data pipelines.
Stars: ✭ 8,736 (+43580%)
Mutual labels:  parser
Xml Js
Converter utility between XML text and Javascript object / JSON text.
Stars: ✭ 874 (+4270%)
Mutual labels:  parser
Py Spy
Sampling profiler for Python programs
Stars: ✭ 7,709 (+38445%)
Mutual labels:  profiler

sol-profiler

npm version Build status dependencies Status devDependencies Status npm npm GitHub LoC Package Quality

sol-profiler lists down the properties of all the contract methods which helps to visualize and review the definition of various contract methods involved at one glance. This is easy to use and user-friendly.

Note: sol-profiler does not ensure/guarantee any kind of security or correctness of any smart-contract.

Features

  • Lists down attributes of contract methods
  • Works with file & directory both
  • Displays user friendly colourful profile on console for single file
  • Also stores generated profile in a folder names profiles in a .txt file named with suffix _Profile
  • Generates & stores profile for each available Solidity file if directory path is passed
  • Supports file import relatively and from node_modules
  • Explicitly marks abstract and fallback functions
  • Explicitly marks library and interface contracts
  • Since Solidity release 0.5.0, Explicit data location for all variables of struct, array or mapping types is now mandatory, so profile also include the data location of parameters defined explicitly.

Install

npm install --global sol-profiler

or

npm install --save-dev sol-profiler

Application

For DApp, one can provide its contract directory path and profile will be stored for each contract which can be referred in future to get the knowledge of the methods defined in various contract.

sol-profiler <dapp/contracts/or/any/directory/path>

It can be used for individual file as:

sol-profiler <solidity/contract/file/path>

It can also be added in the package.json as:

{
  "scripts": {
    "generateProfile": "sol-profiler ./contracts/"
  },
}

Example

We have attached an extensive example i.e. sample.sol. For this, profiler result will be same as in below image :

solp2

Generated profile which get stored in .txt file can be seen here.

VSCode Extension

sol-profiler is also available as Visual Studio Code Extension

Contribution/Suggestions

Any kind of suggestion/feedback/contribution is most welcome!

License

MIT

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].