Skip to content

Commit

Permalink
Compare package size (wihtout image) (#6994)
Browse files Browse the repository at this point in the history
* Added comaparison for package size

* Added advantages over other libraries

* added packge size in minified gzipped

* Update introduction.md

* removed image

---------

Co-authored-by: DrParadox! <deepakshah9016@gmail.com>
  • Loading branch information
Santiago Trujillo Zuluaga and DrParadox05 authored Apr 23, 2024
1 parent 7be0060 commit 5fd9dbb
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docs/docs/guides/getting_started/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,12 @@ Web3.js is modular, consisting of several packages, each serving specific functi

- **Web3 Errors:** Web3 Errors has error codes and common error classes that are used by other Web3 packages.

- **Web3 RPC Methods:** This is for advanced uses for building more lightweight applications. It has functions for making RPC requests to Ethereum using a given provider.
- **Web3 RPC Methods:** This is for advanced uses for building more lightweight applications. It has functions for making RPC requests to Ethereum using a given provider.

## Advantages over other libraries

- **Extensive Documentation and Community**: Being one of the earliest Ethereum libraries, Web3.js benefits from extensive documentation and a large, active community. Web3.js is widely adopted and has been thoroughly tested in various production environments and is compatible with a broad range of other tools and services in the Ethereum ecosystem.

- **Modular Design**: Web3.js is designed to be modular, meaning it allows developers to use specific packages according to their needs. This may lead to smaller bundle sizes and faster load times for web applications.

- **Active Development and Support**: Web3.js sees regular updates and active development. This support is crucial for developers needing assurance that the library they're using will keep pace with the evolving Ethereum landscape.

1 comment on commit 5fd9dbb

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: 5fd9dbb Previous: 6c075db Ratio
processingTx 9195 ops/sec (±4.05%) 9301 ops/sec (±4.81%) 1.01
processingContractDeploy 40937 ops/sec (±6.67%) 39129 ops/sec (±7.62%) 0.96
processingContractMethodSend 19741 ops/sec (±6.13%) 19443 ops/sec (±5.19%) 0.98
processingContractMethodCall 41771 ops/sec (±5.04%) 38971 ops/sec (±6.34%) 0.93
abiEncode 46257 ops/sec (±6.58%) 44252 ops/sec (±6.92%) 0.96
abiDecode 30517 ops/sec (±7.72%) 30419 ops/sec (±8.89%) 1.00
sign 1608 ops/sec (±0.95%) 1656 ops/sec (±4.08%) 1.03
verify 377 ops/sec (±0.39%) 373 ops/sec (±0.78%) 0.99

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.