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

Update Hello World tutorial w/ Video Guide #1401

Merged
merged 1 commit into from
Feb 7, 2022

Conversation

kimcodeashian
Copy link
Contributor

Description

Adding video guide for more context & different learning medium for developers

@github-actions
Copy link

github-actions bot commented Feb 4, 2022

Cadence Benchstat comparison

This branch with compared with the base branch onflow:master commit 8ecdaf3
The command for i in {1..N}; do go test ./... -run=XXX -bench=. -shuffle=on; done was used.
Bench tests were run a total of 7 times on each branch.

Results

old.txtnew.txt
time/opdelta
RuntimeResourceDictionaryValues-216.6ms ±11%15.8ms ± 7%~(p=0.259 n=7+7)
RuntimeFungibleTokenTransfer-21.52ms ±54%1.67ms ±10%~(p=0.366 n=7+6)
ParseArray-214.8ms ± 3%14.5ms ± 5%~(p=0.530 n=5+7)
ParseFungibleToken-2219µs ± 3%217µs ± 8%~(p=0.836 n=6+7)
ParseDeploy/byte_array-222.5ms ±14%21.7ms ± 4%~(p=0.731 n=7+6)
ParseDeploy/decode_hex-21.37ms ± 8%1.33ms ± 8%~(p=0.535 n=7+7)
ParseInfix-211.0µs ±10%11.2µs ± 8%~(p=0.535 n=7+7)
QualifiedIdentifierCreation/One_level-23.11ns ± 6%3.09ns ± 2%~(p=0.876 n=7+5)
QualifiedIdentifierCreation/Three_levels-2161ns ± 5%162ns ± 5%~(p=0.558 n=7+7)
ContractInterfaceFungibleToken-246.8µs ± 9%45.7µs ± 7%~(p=0.456 n=7+7)
CheckContractInterfaceFungibleTokenConformance-2166µs ± 5%159µs ± 8%~(p=0.101 n=6+7)
NewInterpreter/new_interpreter-21.22µs ± 8%1.21µs ± 8%~(p=0.902 n=7+7)
NewInterpreter/new_sub-interpreter-22.44µs ± 9%2.40µs ±10%~(p=0.710 n=7+7)
InterpretRecursionFib-22.76ms ± 8%2.55ms ± 6%−7.52%(p=0.007 n=7+7)
 
alloc/opdelta
RuntimeResourceDictionaryValues-24.05MB ± 0%4.05MB ± 0%~(p=0.259 n=7+7)
RuntimeFungibleTokenTransfer-2278kB ± 0%278kB ± 0%~(p=0.535 n=7+7)
QualifiedIdentifierCreation/One_level-20.00B 0.00B ~(all equal)
QualifiedIdentifierCreation/Three_levels-264.0B ± 0%64.0B ± 0%~(all equal)
ContractInterfaceFungibleToken-226.6kB ± 0%26.6kB ± 0%~(p=0.192 n=7+7)
CheckContractInterfaceFungibleTokenConformance-266.2kB ± 0%66.2kB ± 0%~(all equal)
NewInterpreter/new_interpreter-2768B ± 0%768B ± 0%~(all equal)
NewInterpreter/new_sub-interpreter-21.24kB ± 0%1.24kB ± 0%~(all equal)
InterpretRecursionFib-21.24MB ± 0%1.24MB ± 0%~(p=0.455 n=6+6)
 
allocs/opdelta
RuntimeResourceDictionaryValues-2102k ± 0%102k ± 0%~(p=0.431 n=7+6)
RuntimeFungibleTokenTransfer-24.62k ± 0%4.62k ± 0%~(p=0.274 n=7+7)
QualifiedIdentifierCreation/One_level-20.00 0.00 ~(all equal)
QualifiedIdentifierCreation/Three_levels-22.00 ± 0%2.00 ± 0%~(all equal)
ContractInterfaceFungibleToken-2458 ± 0%458 ± 0%~(all equal)
CheckContractInterfaceFungibleTokenConformance-21.07k ± 0%1.07k ± 0%~(all equal)
NewInterpreter/new_interpreter-212.0 ± 0%12.0 ± 0%~(all equal)
NewInterpreter/new_sub-interpreter-238.0 ± 0%38.0 ± 0%~(all equal)
InterpretRecursionFib-225.0k ± 0%25.0k ± 0%~(all equal)
 

@turbolent turbolent added the Documentation Improvements or additions to documentation label Feb 6, 2022
Copy link
Member

@turbolent turbolent left a comment

Choose a reason for hiding this comment

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

Nice, thank you!

@kimcodeashian kimcodeashian merged commit 1e976a6 into master Feb 7, 2022
@kimcodeashian kimcodeashian deleted the kimcodeashian-update-hello-world branch February 11, 2022 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants