-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This speeds up library a **lot**: ``` Benchmarking DMChannel parsing. [DMChannel] Time using pyvolt ----: 0.107055 seconds [DMChannel] Time using revolt.py -: 0.150814 seconds [DMChannel] Time using voltage ---: 2.892504 seconds Benchmarking GroupChannel parsing. [GroupChannel] Time using pyvolt ----: 0.185667 seconds [GroupChannel] Time using revolt.py -: 0.261947 seconds [GroupChannel] Time using voltage ---: 7.473850 seconds Benchmarking TextChannel parsing. [TextChannel] Time using pyvolt ----: 0.592224 seconds [TextChannel] Time using revolt.py -: 8.655765 seconds [TextChannel] Time using voltage ---: 15.454577 seconds Benchmarking Member parsing. [Member] Time using pyvolt ----: 0.056654 seconds [Member] Time using revolt.py -: 0.402864 seconds [Member] Time using voltage ---: 0.529478 seconds Benchmarking Message parsing. [Message] Time using pyvolt ----: 0.056601 seconds [Message] Time using revolt.py -: 0.261532 seconds [Message] Time using voltage ---: 0.516635 seconds Benchmarking Server parsing. [Server] Time using pyvolt ----: 0.684154 seconds [Server] Time using revolt.py -: 4.294232 seconds [Server] Time using voltage ---: 11.650132 seconds Benchmarking User parsing. [User] Time using pyvolt ----: 0.679173 seconds [User] Time using revolt.py -: 1.043663 seconds [User] Time using voltage ---: 3.473125 seconds ``` Library just takes 2.361524 seconds to parse DMs, groups, text channels, members, messages, servers and users!
- Loading branch information
Showing
2 changed files
with
119 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters