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

Embedding Fungible Token video guide + description #1414

Merged
merged 1 commit into from
Feb 11, 2022

Conversation

kimcodeashian
Copy link
Contributor

Description

Embedding video tutorial for Fungible Token + descriptions

@github-actions
Copy link

Cadence Benchstat comparison

This branch with compared with the base branch onflow:master commit 1939cc7
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.7ms ± 5%16.7ms ± 3%~(p=0.535 n=7+7)
ParseFungibleToken-2219µs ± 6%217µs ± 1%~(p=1.000 n=7+7)
ParseDeploy/byte_array-229.2ms ±11%29.6ms ± 4%~(p=0.902 n=7+7)
ParseDeploy/decode_hex-21.41ms ± 3%1.41ms ± 2%~(p=0.902 n=7+7)
ParseArray-217.7ms ±11%17.6ms ± 3%~(p=0.295 n=7+6)
ParseInfix-211.5µs ± 6%11.3µs ± 1%~(p=0.366 n=7+6)
QualifiedIdentifierCreation/One_level-22.79ns ± 1%2.80ns ± 1%~(p=1.000 n=7+7)
QualifiedIdentifierCreation/Three_levels-2170ns ± 3%169ns ± 2%~(p=0.516 n=7+7)
CheckContractInterfaceFungibleTokenConformance-2157µs ± 5%157µs ± 1%~(p=1.000 n=7+7)
ContractInterfaceFungibleToken-247.2µs ± 2%47.2µs ± 1%~(p=0.902 n=7+7)
NewInterpreter/new_interpreter-21.27µs ± 1%1.27µs ± 1%~(p=0.653 n=6+7)
NewInterpreter/new_sub-interpreter-22.54µs ± 3%2.54µs ± 2%~(p=0.927 n=7+7)
InterpretRecursionFib-22.72ms ± 1%2.66ms ± 1%−1.87%(p=0.004 n=5+6)
RuntimeFungibleTokenTransfer-21.67ms ± 6%1.30ms ±29%−21.72%(p=0.035 n=6+7)
 
alloc/opdelta
RuntimeResourceDictionaryValues-24.05MB ± 0%4.05MB ± 0%~(p=0.383 n=7+7)
RuntimeFungibleTokenTransfer-2278kB ± 0%278kB ± 0%~(p=0.971 n=7+7)
QualifiedIdentifierCreation/One_level-20.00B 0.00B ~(all equal)
QualifiedIdentifierCreation/Three_levels-264.0B ± 0%64.0B ± 0%~(all equal)
CheckContractInterfaceFungibleTokenConformance-266.2kB ± 0%66.2kB ± 0%~(all equal)
ContractInterfaceFungibleToken-226.6kB ± 0%26.6kB ± 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%~(all equal)
 
allocs/opdelta
RuntimeResourceDictionaryValues-2102k ± 0%102k ± 0%~(p=0.746 n=7+7)
RuntimeFungibleTokenTransfer-24.62k ± 0%4.62k ± 0%~(p=0.053 n=5+7)
QualifiedIdentifierCreation/One_level-20.00 0.00 ~(all equal)
QualifiedIdentifierCreation/Three_levels-22.00 ± 0%2.00 ± 0%~(all equal)
CheckContractInterfaceFungibleTokenConformance-21.07k ± 0%1.07k ± 0%~(all equal)
ContractInterfaceFungibleToken-2458 ± 0%458 ± 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)
 

Copy link
Member

@joshuahannan joshuahannan left a comment

Choose a reason for hiding this comment

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

Thanks for adding!

@kimcodeashian kimcodeashian merged commit 95e70f9 into master Feb 11, 2022
@kimcodeashian kimcodeashian deleted the update-guides-embed-video branch February 11, 2022 22:51
@turbolent turbolent added the Documentation Improvements or additions to documentation label Feb 11, 2022
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