Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updating docs to add summarize #527

Merged
merged 2 commits into from
Jun 25, 2020
Merged

updating docs to add summarize #527

merged 2 commits into from
Jun 25, 2020

Conversation

jasonwilliams
Copy link
Member

summarize has now added support for boa to start using it.
It's similar to crox except instead of Chrome flamegraph its a table of where time is being spent, there is an example in the documentation

I've updated the documentation to show how to use it.

@codecov
Copy link

codecov bot commented Jun 25, 2020

Codecov Report

Merging #527 into master will increase coverage by 0.05%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #527      +/-   ##
==========================================
+ Coverage   68.05%   68.10%   +0.05%     
==========================================
  Files         169      169              
  Lines        9932     9942      +10     
==========================================
+ Hits         6759     6771      +12     
+ Misses       3173     3171       -2     
Impacted Files Coverage Δ
boa/src/builtins/function/mod.rs 69.42% <0.00%> (-0.11%) ⬇️
boa/src/exec/tests.rs 100.00% <0.00%> (ø)
boa/src/environment/lexical_environment.rs 74.75% <0.00%> (ø)
boa/src/environment/function_environment_record.rs 25.00% <0.00%> (+4.16%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3fe8942...3dbb97d. Read the comment docs.

@github-actions
Copy link

Benchmark for a9135d0

Click to view benchmark
Test PR Benchmark Master Benchmark %
Arithmetic operations (Execution) 579.8±14.69ns 589.8±30.54ns -1.70%
Array access (Execution) 14.3±1.05µs 14.1±0.34µs +1.42%
Array creation (Execution) 3.7±0.06ms 3.7±0.10ms 0.00%
Array pop (Execution) 1370.7±32.64µs 1371.0±34.44µs -0.02%
Boolean Object Access (Execution) 5.4±0.17µs 5.7±0.44µs -5.26%
Create Realm 140.5±4.84µs 140.0±9.92µs +0.36%
Dynamic Object Property Access (Execution) 7.6±0.41µs 7.5±0.22µs +1.33%
Expression (Lexer) 2.1±0.04µs 2.1±0.09µs 0.00%
Expression (Parser) 5.0±0.22µs 5.2±0.23µs -3.85%
Fibonacci (Execution) 1098.2±40.60µs 1101.9±40.90µs -0.34%
For loop (Execution) 24.0±0.53µs 24.4±1.03µs -1.64%
For loop (Lexer) 5.3±0.12µs 5.4±0.11µs -1.85%
For loop (Parser) 13.8±0.29µs 13.9±0.34µs -0.72%
Hello World (Lexer) 992.7±28.85ns 979.1±35.24ns +1.39%
Hello World (Parser) 2.3±0.06µs 2.3±0.07µs 0.00%
Long file (Parser) 6.4±0.50ms 6.6±0.11ms -3.03%
Number Object Access (Execution) 4.3±0.10µs 4.5±0.24µs -4.44%
Object Creation (Execution) 6.6±0.27µs 6.5±0.21µs +1.54%
RegExp (Execution) 79.7±2.34µs 79.3±3.37µs +0.50%
RegExp Literal (Execution) 83.6±2.29µs 85.3±5.28µs -1.99%
RegExp Literal Creation (Execution) 79.6±1.95µs 78.3±2.11µs +1.66%
Static Object Property Access (Execution) 6.7±0.16µs 6.8±0.19µs -1.47%
String Object Access (Execution) 9.3±0.29µs 9.4±0.30µs -1.06%
String comparison (Execution) 7.2±0.18µs 7.6±0.47µs -5.26%
String concatenation (Execution) 6.1±0.24µs 6.5±0.43µs -6.15%
String copy (Execution) 4.8±0.13µs 5.2±0.35µs -7.69%
Symbols (Execution) 4.3±0.12µs 4.4±0.13µs -2.27%

@jasonwilliams jasonwilliams merged commit 8b40e9e into master Jun 25, 2020
@HalidOdat HalidOdat deleted the summarize branch June 26, 2020 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant