Skip to content

Instantly share code, notes, and snippets.

@MasterDuke17
Created July 19, 2017 00:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MasterDuke17/9f79e35a27eedfe7870e09e5b9223229 to your computer and use it in GitHub Desktop.
Save MasterDuke17/9f79e35a27eedfe7870e09e5b9223229 to your computer and use it in GitHub Desktop.
'use nqp; say nqp::index(("abcde" x 100_000_000) ~ "foo", "foo", 0) > -1;'
81.97% moar libmoar.so [.] MVM_string_get_grapheme_at_nocheck
12.37% moar libmoar.so [.] MVM_string_index
4.12% moar libmoar.so [.] MVM_string_get_grapheme_at_nocheck@plt
0.14% moar libmoar.so [.] MVM_interp_run
0.09% moar libmoar.so [.] MVM_serialization_read_ref
0.07% moar libmoar.so [.] MVM_serialization_read_int
0.07% moar libmoar.so [.] MVM_validate_static_frame
0.05% moar libmoar.so [.] MVM_reentrantmutex_lock
0.05% moar libmoar.so [.] MVM_reentrantmutex_unlock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment