-
-
Save kozross/ce6c1bff17a1c82f58da1bbdc4d0dc66 to your computer and use it in GitHub Desktop.
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
Sun Mar 14 14:03 2021 Time and Allocation Profiling Report (Final) | |
string-search +RTS -p -RTS | |
total time = 3.73 secs (3732 ticks @ 1000 us, 1 processor) | |
total alloc = 4,592,374,376 bytes (excludes profiling overheads) | |
COST CENTRE MODULE SRC %time %alloc | |
foldTestTree Test.Tasty.Core Test/Tasty/Core.hs:(364,1)-(381,46) 46.7 0.0 | |
Text.Ascii.go Text.Ascii src/Text/Ascii.hs:2147:5-6 18.8 48.8 | |
Text.Ascii.indices Text.Ascii src/Text/Ascii.hs:2140:1-7 10.5 28.8 | |
count Text.Ascii src/Text/Ascii.hs:(1896,1)-(1899,40) 9.9 0.0 | |
memchr Data.ByteString.Internal Data/ByteString/Internal.hs:801:1-40 9.3 8.8 | |
memcmp Data.ByteString.Internal Data/ByteString/Internal.hs:807:1-44 2.6 7.5 | |
Text.Ascii.slice Text.Ascii src/Text/Ascii.hs:2155:5-9 1.0 5.0 | |
individual inherited | |
COST CENTRE MODULE SRC no. entries %time %alloc %time %alloc | |
MAIN MAIN <built-in> 293 0 0.0 0.0 100.0 100.0 | |
CAF Main <entire-module> 585 0 0.0 0.0 0.0 0.0 | |
main Main bench/Main.hs:(15,1)-(22,63) 586 1 0.0 0.0 0.0 0.0 | |
CAF Data.Text.Array <entire-module> 572 0 0.0 0.0 0.0 0.0 | |
empty Data.Text.Array src/Data/Text/Array.hs:176:1-38 592 1 0.0 0.0 0.0 0.0 | |
CAF Data.Text.Internal <entire-module> 568 0 0.0 0.0 0.0 0.0 | |
CAF Test.Tasty.Bench <entire-module> 547 0 0.0 0.0 0.0 0.0 | |
mkOptionCLParser Test.Tasty.Options Test/Tasty/Options.hs:(167,1)-(176,74) 703 5 0.0 0.0 0.0 0.0 | |
help Options.Applicative.Builder src/Options/Applicative/Builder.hs:190:1-55 706 5 0.0 0.0 0.0 0.0 | |
optionMod Options.Applicative.Builder.Internal src/Options/Applicative/Builder/Internal.hs:130:1-25 707 0 0.0 0.0 0.0 0.0 | |
long Options.Applicative.Builder src/Options/Applicative/Builder.hs:166:1-32 704 5 0.0 0.0 0.0 0.0 | |
fieldMod Options.Applicative.Builder.Internal src/Options/Applicative/Builder/Internal.hs:133:1-28 705 5 0.0 0.0 0.0 0.0 | |
option Options.Applicative.Builder src/Options/Applicative/Builder.hs:(370,1)-(375,65) 708 5 0.0 0.0 0.0 0.0 | |
mkParser Options.Applicative.Builder.Internal src/Options/Applicative/Builder/Internal.hs:(165,1)-(169,36) 709 5 0.0 0.0 0.0 0.0 | |
bench Test.Tasty.Bench Test/Tasty/Bench.hs:648:1-18 639 1 0.0 0.0 0.0 0.0 | |
singleTest Test.Tasty.Providers Test/Tasty/Providers.hs:20:1-23 640 1 0.0 0.0 0.0 0.0 | |
benchIngredients Test.Tasty.Bench Test/Tasty/Bench.hs:675:1-84 621 1 0.0 0.0 0.0 0.0 | |
composeReporters Test.Tasty.Ingredients Test/Tasty/Ingredients.hs:(133,1)-(141,65) 624 1 0.0 0.0 0.0 0.0 | |
bgroup Test.Tasty.Bench Test/Tasty/Bench.hs:657:1-18 635 1 0.0 0.0 0.0 0.0 | |
consoleBenchReporter Test.Tasty.Bench Test/Tasty/Bench.hs:(941,1)-(956,51) 625 1 0.0 0.0 0.0 0.0 | |
lookupOption Test.Tasty.Options Test/Tasty/Options.hs:(115,1)-(119,27) 815 0 0.0 0.0 0.0 0.0 | |
csvReporter Test.Tasty.Bench Test/Tasty/Bench.hs:(887,1)-(904,69) 626 1 0.0 0.0 0.0 0.0 | |
lookupOption Test.Tasty.Options Test/Tasty/Options.hs:(115,1)-(119,27) 791 0 0.0 0.0 0.0 0.0 | |
defaultMain Test.Tasty.Bench Test/Tasty/Bench.hs:670:1-86 598 1 0.0 0.0 0.0 0.0 | |
lookupOption Test.Tasty.Options Test/Tasty/Options.hs:(115,1)-(119,27) 836 0 0.0 0.0 0.0 0.0 | |
safeRead Test.Tasty.Options Test/Tasty/Options.hs:(181,1)-(183,23) 890 0 0.0 0.0 0.0 0.0 | |
CAF Test.Tasty.Options <entire-module> 545 0 0.0 0.0 0.0 0.0 | |
uniqueOptionDescriptions Test.Tasty.Options Test/Tasty/Options.hs:(138,1)-(143,62) 615 1 0.0 0.0 0.0 0.0 | |
CAF Test.Tasty.Providers <entire-module> 544 0 0.0 0.0 0.0 0.0 | |
CAF Test.Tasty.Providers.ConsoleFormat <entire-module> 543 0 0.0 0.0 0.0 0.0 | |
infoOkFormat Test.Tasty.Providers.ConsoleFormat Test/Tasty/Providers/ConsoleFormat.hs:81:1-56 920 1 0.0 0.0 0.0 0.0 | |
noResultDetails Test.Tasty.Providers.ConsoleFormat Test/Tasty/Providers/ConsoleFormat.hs:41:1-66 924 1 0.0 0.0 0.0 0.0 | |
okFormat Test.Tasty.Providers.ConsoleFormat Test/Tasty/Providers/ConsoleFormat.hs:75:1-52 903 1 0.0 0.0 0.0 0.0 | |
CAF Test.Tasty.Ingredients <entire-module> 542 0 0.0 0.0 0.0 0.0 | |
ingredientsOptions Test.Tasty.Ingredients Test/Tasty/Ingredients.hs:115:1-75 618 1 0.0 0.0 0.0 0.0 | |
CAF Test.Tasty.Ingredients.ConsoleReporter <entire-module> 541 0 0.0 0.0 0.0 0.0 | |
mkFlagCLParser Test.Tasty.Options Test/Tasty/Options.hs:(159,1)-(163,3) 687 2 0.0 0.0 0.0 0.0 | |
flag' Options.Applicative.Builder src/Options/Applicative/Builder.hs:(327,1)-(331,43) 692 2 0.0 0.0 0.0 0.0 | |
mkParser Options.Applicative.Builder.Internal src/Options/Applicative/Builder/Internal.hs:(165,1)-(169,36) 693 2 0.0 0.0 0.0 0.0 | |
help Options.Applicative.Builder src/Options/Applicative/Builder.hs:190:1-55 690 2 0.0 0.0 0.0 0.0 | |
optionMod Options.Applicative.Builder.Internal src/Options/Applicative/Builder/Internal.hs:130:1-25 691 0 0.0 0.0 0.0 0.0 | |
long Options.Applicative.Builder src/Options/Applicative/Builder.hs:166:1-32 688 2 0.0 0.0 0.0 0.0 | |
fieldMod Options.Applicative.Builder.Internal src/Options/Applicative/Builder/Internal.hs:133:1-28 689 2 0.0 0.0 0.0 0.0 | |
mkOptionCLParser Test.Tasty.Options Test/Tasty/Options.hs:(167,1)-(176,74) 696 2 0.0 0.0 0.0 0.0 | |
help Options.Applicative.Builder src/Options/Applicative/Builder.hs:190:1-55 699 2 0.0 0.0 0.0 0.0 | |
optionMod Options.Applicative.Builder.Internal src/Options/Applicative/Builder/Internal.hs:130:1-25 700 0 0.0 0.0 0.0 0.0 | |
long Options.Applicative.Builder src/Options/Applicative/Builder.hs:166:1-32 697 2 0.0 0.0 0.0 0.0 | |
fieldMod Options.Applicative.Builder.Internal src/Options/Applicative/Builder/Internal.hs:133:1-28 698 2 0.0 0.0 0.0 0.0 | |
option Options.Applicative.Builder src/Options/Applicative/Builder.hs:(370,1)-(375,65) 701 2 0.0 0.0 0.0 0.0 | |
mkParser Options.Applicative.Builder.Internal src/Options/Applicative/Builder/Internal.hs:(165,1)-(169,36) 702 2 0.0 0.0 0.0 0.0 | |
computeStatistics Test.Tasty.Ingredients.ConsoleReporter Test/Tasty/Ingredients/ConsoleReporter.hs:(291,1)-(293,30) 931 1 0.0 0.0 0.0 0.0 | |
consoleTestReporter Test.Tasty.Ingredients.ConsoleReporter Test/Tasty/Ingredients/ConsoleReporter.hs:(380,1)-(429,44) 627 1 0.0 0.0 0.0 0.0 | |
hSupportsANSI System.Console.ANSI.Unix src/System/Console/ANSI/Unix.hs:(74,1)-(77,65) 833 1 0.0 0.0 0.0 0.0 | |
hSupportsANSIColor System.Console.ANSI.Unix src/includes/Common-Include.hs:(144,1)-(148,49) 840 1 0.0 0.0 0.0 0.0 | |
lookupOption Test.Tasty.Options Test/Tasty/Options.hs:(115,1)-(119,27) 832 0 0.0 0.0 0.0 0.0 | |
metavar Options.Applicative.Builder src/Options/Applicative/Builder.hs:206:1-55 694 1 0.0 0.0 0.0 0.0 | |
optionMod Options.Applicative.Builder.Internal src/Options/Applicative/Builder/Internal.hs:130:1-25 695 0 0.0 0.0 0.0 0.0 | |
short Options.Applicative.Builder src/Options/Applicative/Builder.hs:162:1-34 685 1 0.0 0.0 0.0 0.0 | |
fieldMod Options.Applicative.Builder.Internal src/Options/Applicative/Builder/Internal.hs:133:1-28 686 1 0.0 0.0 0.0 0.0 | |
buildTestOutput Test.Tasty.Ingredients.ConsoleReporter Test/Tasty/Ingredients/ConsoleReporter.hs:(97,1)-(154,19) 853 0 0.0 0.0 0.0 0.0 | |
withConsoleFormat Test.Tasty.Ingredients.ConsoleReporter Test/Tasty/Ingredients/ConsoleReporter.hs:(649,1)-(658,22) 918 0 0.0 0.0 0.0 0.0 | |
color Test.Tasty.Providers.ConsoleFormat Test/Tasty/Providers/ConsoleFormat.hs:26:5-9 921 1 0.0 0.0 0.0 0.0 | |
colorIntensity Test.Tasty.Providers.ConsoleFormat Test/Tasty/Providers/ConsoleFormat.hs:25:5-18 919 1 0.0 0.0 0.0 0.0 | |
consoleIntensity Test.Tasty.Providers.ConsoleFormat Test/Tasty/Providers/ConsoleFormat.hs:24:5-20 922 1 0.0 0.0 0.0 0.0 | |
printStatistics Test.Tasty.Ingredients.ConsoleReporter Test/Tasty/Ingredients/ConsoleReporter.hs:(307,1)-(312,40) 935 0 0.0 0.0 0.0 0.0 | |
withConsoleFormat Test.Tasty.Ingredients.ConsoleReporter Test/Tasty/Ingredients/ConsoleReporter.hs:(649,1)-(658,22) 950 0 0.0 0.0 0.0 0.0 | |
color Test.Tasty.Providers.ConsoleFormat Test/Tasty/Providers/ConsoleFormat.hs:26:5-9 952 1 0.0 0.0 0.0 0.0 | |
colorIntensity Test.Tasty.Providers.ConsoleFormat Test/Tasty/Providers/ConsoleFormat.hs:25:5-18 951 1 0.0 0.0 0.0 0.0 | |
consoleIntensity Test.Tasty.Providers.ConsoleFormat Test/Tasty/Providers/ConsoleFormat.hs:24:5-20 953 1 0.0 0.0 0.0 0.0 | |
withConsoleFormat Test.Tasty.Ingredients.ConsoleReporter Test/Tasty/Ingredients/ConsoleReporter.hs:(649,1)-(658,22) 908 0 0.0 0.0 0.0 0.0 | |
color Test.Tasty.Providers.ConsoleFormat Test/Tasty/Providers/ConsoleFormat.hs:26:5-9 946 1 0.0 0.0 0.0 0.0 | |
colorIntensity Test.Tasty.Providers.ConsoleFormat Test/Tasty/Providers/ConsoleFormat.hs:25:5-18 945 1 0.0 0.0 0.0 0.0 | |
consoleIntensity Test.Tasty.Providers.ConsoleFormat Test/Tasty/Providers/ConsoleFormat.hs:24:5-20 948 1 0.0 0.0 0.0 0.0 | |
setSGR System.Console.ANSI.Unix src/includes/Common-Include-Enabled.hs:21:1-23 909 0 0.0 0.0 0.0 0.0 | |
hSetSGR System.Console.ANSI.Unix src/System/Console/ANSI/Unix.hs:62:1-44 910 1 0.0 0.0 0.0 0.0 | |
setSGRCode System.Console.ANSI.Codes src/System/Console/ANSI/Codes.hs:203:1-52 911 1 0.0 0.0 0.0 0.0 | |
csi System.Console.ANSI.Codes src/System/Console/ANSI/Codes.hs:77:1-75 912 1 0.0 0.0 0.0 0.0 | |
CAF Control.Concurrent.Async <entire-module> 540 0 0.0 0.0 0.0 0.0 | |
async Control.Concurrent.Async Control/Concurrent/Async.hs:69:1-35 808 1 0.0 0.0 0.0 0.0 | |
withAsync Control.Concurrent.Async Control/Concurrent/Async.hs:97:1-43 825 1 0.0 0.0 0.0 0.0 | |
CAF Test.Tasty.Core <entire-module> 539 0 0.0 0.0 0.0 0.0 | |
testGroup Test.Tasty.Core Test/Tasty/Core.hs:230:1-21 632 1 0.0 0.0 0.0 0.0 | |
treeOptions Test.Tasty.Core Test/Tasty/Core.hs:(385,1)-(400,31) 628 1 0.0 0.0 0.0 0.0 | |
trivialFold Test.Tasty.Core Test/Tasty/Core.hs:(330,1)-(335,3) 630 1 0.0 0.0 0.0 0.0 | |
foldTestTree Test.Tasty.Core Test/Tasty/Core.hs:(364,1)-(381,46) 645 0 0.0 0.0 0.0 0.0 | |
lookupOption Test.Tasty.Options Test/Tasty/Options.hs:(115,1)-(119,27) 646 0 0.0 0.0 0.0 0.0 | |
CAF Test.Tasty.Options.Core <entire-module> 538 0 0.0 0.0 0.0 0.0 | |
metavar Options.Applicative.Builder src/Options/Applicative/Builder.hs:206:1-55 667 2 0.0 0.0 0.0 0.0 | |
optionMod Options.Applicative.Builder.Internal src/Options/Applicative/Builder/Internal.hs:130:1-25 668 0 0.0 0.0 0.0 0.0 | |
mkOptionCLParser Test.Tasty.Options Test/Tasty/Options.hs:(167,1)-(176,74) 669 2 0.0 0.0 0.0 0.0 | |
help Options.Applicative.Builder src/Options/Applicative/Builder.hs:190:1-55 672 2 0.0 0.0 0.0 0.0 | |
optionMod Options.Applicative.Builder.Internal src/Options/Applicative/Builder/Internal.hs:130:1-25 673 0 0.0 0.0 0.0 0.0 | |
long Options.Applicative.Builder src/Options/Applicative/Builder.hs:166:1-32 670 2 0.0 0.0 0.0 0.0 | |
fieldMod Options.Applicative.Builder.Internal src/Options/Applicative/Builder/Internal.hs:133:1-28 671 2 0.0 0.0 0.0 0.0 | |
option Options.Applicative.Builder src/Options/Applicative/Builder.hs:(370,1)-(375,65) 674 2 0.0 0.0 0.0 0.0 | |
mkParser Options.Applicative.Builder.Internal src/Options/Applicative/Builder/Internal.hs:(165,1)-(169,36) 675 2 0.0 0.0 0.0 0.0 | |
short Options.Applicative.Builder src/Options/Applicative/Builder.hs:162:1-34 665 2 0.0 0.0 0.0 0.0 | |
fieldMod Options.Applicative.Builder.Internal src/Options/Applicative/Builder/Internal.hs:133:1-28 666 2 0.0 0.0 0.0 0.0 | |
coreOptions Test.Tasty.Options.Core Test/Tasty/Options/Core.hs:(93,1)-(96,3) 617 1 0.0 0.0 0.0 0.0 | |
CAF Test.Tasty.Patterns <entire-module> 537 0 0.0 0.0 0.0 0.0 | |
metavar Options.Applicative.Builder src/Options/Applicative/Builder.hs:206:1-55 650 1 0.0 0.0 0.0 0.0 | |
optionMod Options.Applicative.Builder.Internal src/Options/Applicative/Builder/Internal.hs:130:1-25 652 0 0.0 0.0 0.0 0.0 | |
mkOptionCLParser Test.Tasty.Options Test/Tasty/Options.hs:(167,1)-(176,74) 653 1 0.0 0.0 0.0 0.0 | |
help Options.Applicative.Builder src/Options/Applicative/Builder.hs:190:1-55 656 1 0.0 0.0 0.0 0.0 | |
optionMod Options.Applicative.Builder.Internal src/Options/Applicative/Builder/Internal.hs:130:1-25 657 0 0.0 0.0 0.0 0.0 | |
long Options.Applicative.Builder src/Options/Applicative/Builder.hs:166:1-32 654 1 0.0 0.0 0.0 0.0 | |
fieldMod Options.Applicative.Builder.Internal src/Options/Applicative/Builder/Internal.hs:133:1-28 655 1 0.0 0.0 0.0 0.0 | |
option Options.Applicative.Builder src/Options/Applicative/Builder.hs:(370,1)-(375,65) 658 1 0.0 0.0 0.0 0.0 | |
mkParser Options.Applicative.Builder.Internal src/Options/Applicative/Builder/Internal.hs:(165,1)-(169,36) 662 1 0.0 0.0 0.0 0.0 | |
noPattern Test.Tasty.Patterns Test/Tasty/Patterns.hs:31:1-31 647 1 0.0 0.0 0.0 0.0 | |
short Options.Applicative.Builder src/Options/Applicative/Builder.hs:162:1-34 648 1 0.0 0.0 0.0 0.0 | |
fieldMod Options.Applicative.Builder.Internal src/Options/Applicative/Builder/Internal.hs:133:1-28 649 1 0.0 0.0 0.0 0.0 | |
CAF Test.Tasty.Run <entire-module> 536 0 0.0 0.0 0.0 0.0 | |
launchTestTree Test.Tasty.Run Test/Tasty/Run.hs:(421,1)-(452,31) 797 0 0.0 0.0 0.0 0.0 | |
lookupOption Test.Tasty.Options Test/Tasty/Options.hs:(115,1)-(119,27) 838 0 0.0 0.0 0.0 0.0 | |
timed Test.Tasty.Runners.Utils Test/Tasty/Runners/Utils.hs:(99,1)-(103,23) 806 0 0.0 0.0 0.0 0.0 | |
lookupOption Test.Tasty.Options Test/Tasty/Options.hs:(115,1)-(119,27) 807 0 0.0 0.0 0.0 0.0 | |
CAF Test.Tasty.Runners.Utils <entire-module> 534 0 0.0 0.0 0.0 0.0 | |
forceElements Test.Tasty.Runners.Utils Test/Tasty/Runners/Utils.hs:57:1-28 869 1 0.0 0.0 0.0 0.0 | |
formatMessage Test.Tasty.Runners.Utils Test/Tasty/Runners/Utils.hs:(43,1)-(52,107) 886 1 0.0 0.0 0.0 0.0 | |
getTime Test.Tasty.Runners.Utils Test/Tasty/Runners/Utils.hs:(111,1)-(119,31) 801 1 0.0 0.0 0.0 0.0 | |
installSignalHandlers Test.Tasty.Runners.Utils Test/Tasty/Runners/Utils.hs:(71,1)-(82,67) 601 1 0.0 0.0 0.0 0.0 | |
CAF Test.Tasty.CmdLine <entire-module> 533 0 0.0 0.0 0.0 0.0 | |
optionParser Test.Tasty.CmdLine Test/Tasty/CmdLine.hs:(39,1)-(43,39) 612 1 0.0 0.0 0.0 0.0 | |
parseOptions Test.Tasty.CmdLine Test/Tasty/CmdLine.hs:(152,1)-(161,33) 721 0 0.0 0.0 0.0 0.0 | |
header Options.Applicative.Builder src/Options/Applicative/Builder.hs:398:1-57 722 1 0.0 0.0 0.0 0.0 | |
CAF Test.Tasty.Ingredients.ListTests <entire-module> 532 0 0.0 0.0 0.0 0.0 | |
listingTests Test.Tasty.Ingredients.ListTests Test/Tasty/Ingredients/ListTests.hs:(39,1)-(45,19) 623 1 0.0 0.0 0.0 0.0 | |
lookupOption Test.Tasty.Options Test/Tasty/Options.hs:(115,1)-(119,27) 784 0 0.0 0.0 0.0 0.0 | |
mkFlagCLParser Test.Tasty.Options Test/Tasty/Options.hs:(159,1)-(163,3) 678 1 0.0 0.0 0.0 0.0 | |
flag' Options.Applicative.Builder src/Options/Applicative/Builder.hs:(327,1)-(331,43) 683 1 0.0 0.0 0.0 0.0 | |
mkParser Options.Applicative.Builder.Internal src/Options/Applicative/Builder/Internal.hs:(165,1)-(169,36) 684 1 0.0 0.0 0.0 0.0 | |
help Options.Applicative.Builder src/Options/Applicative/Builder.hs:190:1-55 681 1 0.0 0.0 0.0 0.0 | |
optionMod Options.Applicative.Builder.Internal src/Options/Applicative/Builder/Internal.hs:130:1-25 682 0 0.0 0.0 0.0 0.0 | |
long Options.Applicative.Builder src/Options/Applicative/Builder.hs:166:1-32 679 1 0.0 0.0 0.0 0.0 | |
fieldMod Options.Applicative.Builder.Internal src/Options/Applicative/Builder/Internal.hs:133:1-28 680 1 0.0 0.0 0.0 0.0 | |
short Options.Applicative.Builder src/Options/Applicative/Builder.hs:162:1-34 676 1 0.0 0.0 0.0 0.0 | |
fieldMod Options.Applicative.Builder.Internal src/Options/Applicative/Builder/Internal.hs:133:1-28 677 1 0.0 0.0 0.0 0.0 | |
testsNames Test.Tasty.Ingredients.ListTests Test/Tasty/Ingredients/ListTests.hs:(30,1)-(35,7) 816 1 0.0 0.0 0.0 0.0 | |
trivialFold Test.Tasty.Core Test/Tasty/Core.hs:(330,1)-(335,3) 818 1 0.0 0.0 0.0 0.0 | |
CAF Test.Tasty.Options.Env <entire-module> 527 0 0.0 0.0 0.0 0.0 | |
getEnvOptions Test.Tasty.Options.Env Test/Tasty/Options/Env.hs:(38,1)-(56,57) 769 1 0.0 0.0 0.0 0.0 | |
CAF Data.Char.WCWidth <entire-module> 525 0 0.0 0.0 0.0 0.0 | |
wcwidth Data.Char.WCWidth Data/Char/WCWidth.hs:69:1-69 856 1 0.0 0.0 0.0 0.0 | |
CAF Options.Applicative.Builder <entire-module> 517 0 0.0 0.0 0.0 0.0 | |
fullDesc Options.Applicative.Builder src/Options/Applicative/Builder.hs:390:1-52 724 1 0.0 0.0 0.0 0.0 | |
hidden Options.Applicative.Builder src/Options/Applicative/Builder.hs:(212,1)-(213,54) 762 1 0.0 0.0 0.0 0.0 | |
optionMod Options.Applicative.Builder.Internal src/Options/Applicative/Builder/Internal.hs:130:1-25 763 0 0.0 0.0 0.0 0.0 | |
option Options.Applicative.Builder src/Options/Applicative/Builder.hs:(370,1)-(375,65) 659 0 0.0 0.0 0.0 0.0 | |
metavar Options.Applicative.Builder src/Options/Applicative/Builder.hs:206:1-55 660 1 0.0 0.0 0.0 0.0 | |
optionMod Options.Applicative.Builder.Internal src/Options/Applicative/Builder/Internal.hs:130:1-25 661 0 0.0 0.0 0.0 0.0 | |
CAF Options.Applicative.Builder.Internal <entire-module> 515 0 0.0 0.0 0.0 0.0 | |
internal Options.Applicative.Builder.Internal src/Options/Applicative/Builder/Internal.hs:189:1-60 730 1 0.0 0.0 0.0 0.0 | |
optionMod Options.Applicative.Builder.Internal src/Options/Applicative/Builder/Internal.hs:130:1-25 731 0 0.0 0.0 0.0 0.0 | |
noGlobal Options.Applicative.Builder.Internal src/Options/Applicative/Builder/Internal.hs:194:1-59 758 1 0.0 0.0 0.0 0.0 | |
optionMod Options.Applicative.Builder.Internal src/Options/Applicative/Builder/Internal.hs:130:1-25 759 0 0.0 0.0 0.0 0.0 | |
optionMod Options.Applicative.Builder.Internal src/Options/Applicative/Builder/Internal.hs:130:1-25 651 1 0.0 0.0 0.0 0.0 | |
CAF Options.Applicative.Common <entire-module> 514 0 0.0 0.0 0.0 0.0 | |
liftOpt Options.Applicative.Common src/Options/Applicative/Common.hs:81:1-14 663 1 0.0 0.0 0.0 0.0 | |
CAF Options.Applicative.Extra <entire-module> 513 0 0.0 0.0 0.0 0.0 | |
execParser Options.Applicative.Extra src/Options/Applicative/Extra.hs:84:1-42 710 1 0.0 0.0 0.0 0.0 | |
helper Options.Applicative.Extra src/Options/Applicative/Extra.hs:(49,1)-(65,44) 747 1 0.0 0.0 0.0 0.0 | |
help Options.Applicative.Builder src/Options/Applicative/Builder.hs:190:1-55 752 1 0.0 0.0 0.0 0.0 | |
optionMod Options.Applicative.Builder.Internal src/Options/Applicative/Builder/Internal.hs:130:1-25 753 0 0.0 0.0 0.0 0.0 | |
long Options.Applicative.Builder src/Options/Applicative/Builder.hs:166:1-32 748 1 0.0 0.0 0.0 0.0 | |
fieldMod Options.Applicative.Builder.Internal src/Options/Applicative/Builder/Internal.hs:133:1-28 749 1 0.0 0.0 0.0 0.0 | |
noArgError Options.Applicative.Builder src/Options/Applicative/Builder.hs:199:1-61 760 1 0.0 0.0 0.0 0.0 | |
fieldMod Options.Applicative.Builder.Internal src/Options/Applicative/Builder/Internal.hs:133:1-28 761 1 0.0 0.0 0.0 0.0 | |
option Options.Applicative.Builder src/Options/Applicative/Builder.hs:(370,1)-(375,65) 764 1 0.0 0.0 0.0 0.0 | |
mkParser Options.Applicative.Builder.Internal src/Options/Applicative/Builder/Internal.hs:(165,1)-(169,36) 765 1 0.0 0.0 0.0 0.0 | |
short Options.Applicative.Builder src/Options/Applicative/Builder.hs:162:1-34 750 1 0.0 0.0 0.0 0.0 | |
fieldMod Options.Applicative.Builder.Internal src/Options/Applicative/Builder/Internal.hs:133:1-28 751 1 0.0 0.0 0.0 0.0 | |
metavar Options.Applicative.Builder src/Options/Applicative/Builder.hs:206:1-55 756 0 0.0 0.0 0.0 0.0 | |
optionMod Options.Applicative.Builder.Internal src/Options/Applicative/Builder/Internal.hs:130:1-25 757 0 0.0 0.0 0.0 0.0 | |
metavar Options.Applicative.Builder src/Options/Applicative/Builder.hs:206:1-55 755 1 0.0 0.0 0.0 0.0 | |
value Options.Applicative.Builder src/Options/Applicative/Builder.hs:178:1-50 754 1 0.0 0.0 0.0 0.0 | |
CAF Options.Applicative.BashCompletion <entire-module> 505 0 0.0 0.0 0.0 0.0 | |
bashCompletionParser Options.Applicative.BashCompletion src/Options/Applicative/BashCompletion.hs:(35,1)-(65,7) 727 0 0.0 0.0 0.0 0.0 | |
long Options.Applicative.Builder src/Options/Applicative/Builder.hs:166:1-32 728 6 0.0 0.0 0.0 0.0 | |
fieldMod Options.Applicative.Builder.Internal src/Options/Applicative/Builder/Internal.hs:133:1-28 729 6 0.0 0.0 0.0 0.0 | |
strOption Options.Applicative.Builder src/Options/Applicative/Builder.hs:360:1-22 737 4 0.0 0.0 0.0 0.0 | |
option Options.Applicative.Builder src/Options/Applicative/Builder.hs:(370,1)-(375,65) 738 4 0.0 0.0 0.0 0.0 | |
mkParser Options.Applicative.Builder.Internal src/Options/Applicative/Builder/Internal.hs:(165,1)-(169,36) 739 4 0.0 0.0 0.0 0.0 | |
flag' Options.Applicative.Builder src/Options/Applicative/Builder.hs:(327,1)-(331,43) 732 1 0.0 0.0 0.0 0.0 | |
mkParser Options.Applicative.Builder.Internal src/Options/Applicative/Builder/Internal.hs:(165,1)-(169,36) 733 1 0.0 0.0 0.0 0.0 | |
fromM Options.Applicative.Types src/Options/Applicative/Types.hs:287:1-26 734 1 0.0 0.0 0.0 0.0 | |
manyM Options.Applicative.Types src/Options/Applicative/Types.hs:(293,1)-(297,30) 735 1 0.0 0.0 0.0 0.0 | |
oneM Options.Applicative.Types src/Options/Applicative/Types.hs:290:1-26 736 1 0.0 0.0 0.0 0.0 | |
option Options.Applicative.Builder src/Options/Applicative/Builder.hs:(370,1)-(375,65) 744 1 0.0 0.0 0.0 0.0 | |
mkParser Options.Applicative.Builder.Internal src/Options/Applicative/Builder/Internal.hs:(165,1)-(169,36) 745 1 0.0 0.0 0.0 0.0 | |
CAF System.Posix.Signals <entire-module> 500 0 0.0 0.0 0.0 0.0 | |
sigHUP System.Posix.Signals dist/build/System/Posix/Signals.hs:139:1-13 604 1 0.0 0.0 0.0 0.0 | |
sigTERM System.Posix.Signals dist/build/System/Posix/Signals.hs:155:1-14 605 1 0.0 0.0 0.0 0.0 | |
sigUSR1 System.Posix.Signals dist/build/System/Posix/Signals.hs:163:1-14 606 1 0.0 0.0 0.0 0.0 | |
sigUSR2 System.Posix.Signals dist/build/System/Posix/Signals.hs:165:1-14 607 1 0.0 0.0 0.0 0.0 | |
sigXCPU System.Posix.Signals System/Posix/Signals.hsc:176:1-14 608 1 0.0 0.0 0.0 0.0 | |
sigXFSZ System.Posix.Signals System/Posix/Signals.hsc:178:1-14 609 1 0.0 0.0 0.0 0.0 | |
CAF System.Clock <entire-module> 492 0 0.0 0.0 0.0 0.0 | |
toNanoSecs System.Clock System/Clock.hsc:262:1-73 915 0 0.0 0.0 0.0 0.0 | |
CAF System.Console.ANSI.Codes <entire-module> 490 0 0.0 0.0 0.0 0.0 | |
hideCursorCode System.Console.ANSI.Codes src/System/Console/ANSI/Codes.hs:206:1-30 847 1 0.0 0.0 0.0 0.0 | |
csi System.Console.ANSI.Codes src/System/Console/ANSI/Codes.hs:77:1-75 848 1 0.0 0.0 0.0 0.0 | |
showCursorCode System.Console.ANSI.Codes src/System/Console/ANSI/Codes.hs:207:1-30 929 1 0.0 0.0 0.0 0.0 | |
csi System.Console.ANSI.Codes src/System/Console/ANSI/Codes.hs:77:1-75 930 1 0.0 0.0 0.0 0.0 | |
CAF System.Console.ANSI.Unix <entire-module> 489 0 0.0 0.0 0.0 0.0 | |
hideCursor System.Console.ANSI.Unix src/includes/Common-Include.hs:103:1-31 843 1 0.0 0.0 0.0 0.0 | |
hHideCursor System.Console.ANSI.Unix src/System/Console/ANSI/Unix.hs:64:1-40 844 1 0.0 0.0 0.0 0.0 | |
setSGR System.Console.ANSI.Unix src/includes/Common-Include-Enabled.hs:21:1-23 896 1 0.0 0.0 0.0 0.0 | |
showCursor System.Console.ANSI.Unix src/includes/Common-Include.hs:104:1-31 925 1 0.0 0.0 0.0 0.0 | |
hShowCursor System.Console.ANSI.Unix src/System/Console/ANSI/Unix.hs:65:1-40 926 1 0.0 0.0 0.0 0.0 | |
CAF Data.ByteString.Internal <entire-module> 466 0 0.0 0.0 0.0 0.0 | |
unsafeWithForeignPtr Data.ByteString.Internal Data/ByteString/Internal.hs:188:1-37 881 1 0.0 0.0 0.0 0.0 | |
CAF GHC.Conc.Signal <entire-module> 405 0 0.0 0.0 0.0 0.0 | |
CAF GHC.Conc.Sync <entire-module> 404 0 0.0 0.0 0.0 0.0 | |
CAF GHC.Float <entire-module> 396 0 0.0 0.0 0.0 0.0 | |
CAF GHC.IO.Encoding <entire-module> 386 0 0.0 0.0 0.0 0.0 | |
CAF GHC.IO.Encoding.Iconv <entire-module> 384 0 0.0 0.0 0.0 0.0 | |
CAF GHC.IO.Exception <entire-module> 378 0 0.0 0.0 0.0 0.0 | |
CAF GHC.IO.FD <entire-module> 377 0 0.0 0.0 0.0 0.0 | |
CAF GHC.IO.Handle.FD <entire-module> 375 0 0.0 0.0 0.0 0.0 | |
CAF GHC.IO.Handle.Internals <entire-module> 374 0 0.0 0.0 0.0 0.0 | |
CAF GHC.Read <entire-module> 359 0 0.0 0.0 0.0 0.0 | |
CAF GHC.Show <entire-module> 355 0 0.0 0.0 0.0 0.0 | |
CAF System.CPUTime <entire-module> 341 0 0.0 0.0 0.0 0.0 | |
CAF System.Exit <entire-module> 339 0 0.0 0.0 0.0 0.0 | |
CAF System.Posix.Internals <entire-module> 337 0 0.0 0.0 0.0 0.0 | |
CAF Text.Printf <entire-module> 332 0 0.0 0.0 0.0 0.0 | |
CAF Text.Read.Lex <entire-module> 330 0 0.0 0.0 0.0 0.0 | |
CAF Data.Typeable.Internal <entire-module> 324 0 0.0 0.0 0.0 0.0 | |
main Main bench/Main.hs:(15,1)-(22,63) 587 0 0.0 0.0 100.0 100.0 | |
fromText Text.Ascii src/Text/Ascii.hs:(1957,1)-(1959,19) 596 1 0.2 0.0 0.3 0.4 | |
encodeUtf8 Data.Text.Encoding src/Data/Text/Encoding.hs:(433,1)-(448,37) 876 1 0.1 0.4 0.1 0.4 | |
aBA Data.Text.Array src/Data/Text/Array.hs:85:7-9 877 1 0.0 0.0 0.0 0.0 | |
hGetContents Data.Text.IO src/Data/Text/IO.hs:(142,1)-(156,50) 588 1 0.0 0.0 0.9 0.6 | |
readChunk Data.Text.Internal.IO src/Data/Text/Internal/IO.hs:(156,1)-(163,10) 589 3170 0.3 0.3 0.8 0.3 | |
readTextDevice Data.Text.Internal.IO src/Data/Text/Internal/IO.hs:133:39-64 590 3170 0.4 0.0 0.4 0.0 | |
concat Data.Text src/Data/Text.hs:(1002,1)-(1014,36) 591 1 0.0 0.0 0.1 0.3 | |
run Data.Text.Array src/Data/Text/Array.hs:181:1-34 593 1 0.1 0.3 0.1 0.3 | |
aBA Data.Text.Array src/Data/Text/Array.hs:85:7-9 594 3169 0.0 0.0 0.0 0.0 | |
maBA Data.Text.Array src/Data/Text/Array.hs:95:7-10 595 3169 0.0 0.0 0.0 0.0 | |
runSherlockTests Main bench/Main.hs:(27,1)-(40,5) 597 1 0.0 0.0 98.8 98.9 | |
maBA Data.Text.Array src/Data/Text/Array.hs:95:7-10 837 6 0.0 0.0 0.0 0.0 | |
packBytes Data.ByteString.Internal Data/ByteString/Internal.hs:322:1-53 874 4 0.0 0.0 0.0 0.0 | |
unsafePackLenBytes Data.ByteString.Internal Data/ByteString/Internal.hs:(335,1)-(339,52) 875 4 0.0 0.0 0.0 0.0 | |
bench Test.Tasty.Bench Test/Tasty/Bench.hs:648:1-18 641 0 0.0 0.0 0.0 0.0 | |
singleTest Test.Tasty.Providers Test/Tasty/Providers.hs:20:1-23 642 0 0.0 0.0 0.0 0.0 | |
bgroup Test.Tasty.Bench Test/Tasty/Bench.hs:657:1-18 637 0 0.0 0.0 0.0 0.0 | |
testGroup Test.Tasty.Core Test/Tasty/Core.hs:230:1-21 638 0 0.0 0.0 0.0 0.0 | |
defaultMain Test.Tasty.Bench Test/Tasty/Bench.hs:670:1-86 599 0 0.0 0.0 98.8 98.9 | |
defaultMainWithIngredients Test.Tasty.CmdLine Test/Tasty/CmdLine.hs:(170,1)-(181,45) 600 1 0.0 0.0 98.8 98.9 | |
parseOptions Test.Tasty.CmdLine Test/Tasty/CmdLine.hs:(152,1)-(161,33) 610 1 0.0 0.0 0.0 0.0 | |
info Options.Applicative.Builder src/Options/Applicative/Builder.hs:(454,1)-(463,34) 720 1 0.0 0.0 0.0 0.0 | |
fullDesc Options.Applicative.Builder src/Options/Applicative/Builder.hs:390:1-52 725 0 0.0 0.0 0.0 0.0 | |
suiteEnvOptions Test.Tasty.Options.Env Test/Tasty/Options/Env.hs:60:1-64 768 1 0.0 0.0 0.0 0.0 | |
suiteOptions Test.Tasty.Ingredients Test/Tasty/Ingredients.hs:(120,1)-(123,18) 772 1 0.0 0.0 0.0 0.0 | |
ingredientsOptions Test.Tasty.Ingredients Test/Tasty/Ingredients.hs:115:1-75 774 0 0.0 0.0 0.0 0.0 | |
ingredientOptions Test.Tasty.Ingredients Test/Tasty/Ingredients.hs:(109,1)-(111,45) 776 2 0.0 0.0 0.0 0.0 | |
uniqueOptionDescriptions Test.Tasty.Options Test/Tasty/Options.hs:(138,1)-(143,62) 775 0 0.0 0.0 0.0 0.0 | |
treeOptions Test.Tasty.Core Test/Tasty/Core.hs:(385,1)-(400,31) 777 0 0.0 0.0 0.0 0.0 | |
foldTestTree Test.Tasty.Core Test/Tasty/Core.hs:(364,1)-(381,46) 778 1 0.0 0.0 0.0 0.0 | |
lookupOption Test.Tasty.Options Test/Tasty/Options.hs:(115,1)-(119,27) 780 8 0.0 0.0 0.0 0.0 | |
testPatternMatches Test.Tasty.Patterns Test/Tasty/Patterns.hs:(58,1)-(61,48) 779 8 0.0 0.0 0.0 0.0 | |
uniqueOptionDescriptions Test.Tasty.Options Test/Tasty/Options.hs:(138,1)-(143,62) 773 0 0.0 0.0 0.0 0.0 | |
getEnvOptions Test.Tasty.Options.Env Test/Tasty/Options/Env.hs:(38,1)-(56,57) 770 0 0.0 0.0 0.0 0.0 | |
getApp Test.Tasty.Runners.Reducers Test/Tasty/Runners/Reducers.hs:64:23-28 771 1 0.0 0.0 0.0 0.0 | |
suiteOptionParser Test.Tasty.CmdLine Test/Tasty/CmdLine.hs:140:1-65 611 1 0.0 0.0 0.0 0.0 | |
suiteOptions Test.Tasty.Ingredients Test/Tasty/Ingredients.hs:(120,1)-(123,18) 614 1 0.0 0.0 0.0 0.0 | |
ingredientsOptions Test.Tasty.Ingredients Test/Tasty/Ingredients.hs:115:1-75 619 0 0.0 0.0 0.0 0.0 | |
ingredientOptions Test.Tasty.Ingredients Test/Tasty/Ingredients.hs:(109,1)-(111,45) 622 2 0.0 0.0 0.0 0.0 | |
uniqueOptionDescriptions Test.Tasty.Options Test/Tasty/Options.hs:(138,1)-(143,62) 620 0 0.0 0.0 0.0 0.0 | |
treeOptions Test.Tasty.Core Test/Tasty/Core.hs:(385,1)-(400,31) 629 0 0.0 0.0 0.0 0.0 | |
foldTestTree Test.Tasty.Core Test/Tasty/Core.hs:(364,1)-(381,46) 631 1 0.0 0.0 0.0 0.0 | |
lookupOption Test.Tasty.Options Test/Tasty/Options.hs:(115,1)-(119,27) 644 8 0.0 0.0 0.0 0.0 | |
testPatternMatches Test.Tasty.Patterns Test/Tasty/Patterns.hs:(58,1)-(61,48) 643 8 0.0 0.0 0.0 0.0 | |
uniqueOptionDescriptions Test.Tasty.Options Test/Tasty/Options.hs:(138,1)-(143,62) 616 0 0.0 0.0 0.0 0.0 | |
optionParser Test.Tasty.CmdLine Test/Tasty/CmdLine.hs:(39,1)-(43,39) 613 0 0.0 0.0 0.0 0.0 | |
evalParser Options.Applicative.Common src/Options/Applicative/Common.hs:(245,1)-(249,56) 664 13 0.0 0.0 0.0 0.0 | |
getApp Test.Tasty.Runners.Reducers Test/Tasty/Runners/Reducers.hs:64:23-28 766 1 0.0 0.0 0.0 0.0 | |
execParser Options.Applicative.Extra src/Options/Applicative/Extra.hs:84:1-42 711 0 0.0 0.0 0.0 0.0 | |
customExecParser Options.Applicative.Extra src/Options/Applicative/Extra.hs:(88,1)-(90,23) 712 1 0.0 0.0 0.0 0.0 | |
execParserPure Options.Applicative.Extra src/Options/Applicative/Extra.hs:(124,1)-(133,33) 713 1 0.0 0.0 0.0 0.0 | |
runP Options.Applicative.Internal src/Options/Applicative/Internal.hs:91:1-59 714 1 0.0 0.0 0.0 0.0 | |
bashCompletionParser Options.Applicative.BashCompletion src/Options/Applicative/BashCompletion.hs:(35,1)-(65,7) 726 1 0.0 0.0 0.0 0.0 | |
infoParser Options.Applicative.Types src/Options/Applicative/Types.hs:90:5-14 746 1 0.0 0.0 0.0 0.0 | |
runParserInfo Options.Applicative.Common src/Options/Applicative/Common.hs:233:1-62 715 1 0.0 0.0 0.0 0.0 | |
infoParser Options.Applicative.Types src/Options/Applicative/Types.hs:90:5-14 719 1 0.0 0.0 0.0 0.0 | |
runParserFully Options.Applicative.Common src/Options/Applicative/Common.hs:(236,1)-(240,33) 716 1 0.0 0.0 0.0 0.0 | |
runParser Options.Applicative.Common src/Options/Applicative/Common.hs:(203,1)-(220,24) 717 1 0.0 0.0 0.0 0.0 | |
evalParser Options.Applicative.Common src/Options/Applicative/Common.hs:(245,1)-(249,56) 718 79 0.0 0.0 0.0 0.0 | |
bashCompletionParser Options.Applicative.BashCompletion src/Options/Applicative/BashCompletion.hs:(35,1)-(65,7) 740 0 0.0 0.0 0.0 0.0 | |
fromM Options.Applicative.Types src/Options/Applicative/Types.hs:287:1-26 741 0 0.0 0.0 0.0 0.0 | |
manyM Options.Applicative.Types src/Options/Applicative/Types.hs:(293,1)-(297,30) 742 0 0.0 0.0 0.0 0.0 | |
runParserM Options.Applicative.Types src/Options/Applicative/Types.hs:273:5-14 743 1 0.0 0.0 0.0 0.0 | |
handleParseResult Options.Applicative.Extra src/Options/Applicative/Extra.hs:(94,1)-(106,17) 767 1 0.0 0.0 0.0 0.0 | |
header Options.Applicative.Builder src/Options/Applicative/Builder.hs:398:1-57 723 0 0.0 0.0 0.0 0.0 | |
tryIngredients Test.Tasty.Ingredients Test/Tasty/Ingredients.hs:(100,1)-(101,50) 781 1 0.0 0.0 98.8 98.9 | |
launchTestTree Test.Tasty.Run Test/Tasty/Run.hs:(421,1)-(452,31) 793 1 0.0 0.0 98.8 98.9 | |
timed Test.Tasty.Runners.Utils Test/Tasty/Runners/Utils.hs:(99,1)-(103,23) 800 9 0.0 0.0 98.8 98.9 | |
lookupOption Test.Tasty.Options Test/Tasty/Options.hs:(115,1)-(119,27) 805 1 0.0 0.0 0.0 0.0 | |
runInParallel Test.Tasty.Parallel Test/Tasty/Parallel.hs:(44,1)-(68,21) 804 1 0.0 0.0 98.8 98.9 | |
async Control.Concurrent.Async Control/Concurrent/Async.hs:69:1-35 809 0 0.0 0.0 98.8 98.9 | |
actionRun Test.Tasty.Parallel Test/Tasty/Parallel.hs:23:5-13 823 8 0.0 0.0 98.8 98.9 | |
foldTestTree Test.Tasty.Core Test/Tasty/Core.hs:(364,1)-(381,46) 824 0 46.7 0.0 98.8 98.9 | |
count Text.Ascii src/Text/Ascii.hs:(1896,1)-(1899,40) 878 956 9.9 0.0 52.1 98.9 | |
Text.Ascii.indices Text.Ascii src/Text/Ascii.hs:2140:1-7 879 829 10.5 28.8 42.2 98.9 | |
memchr Data.ByteString.Internal Data/ByteString/Internal.hs:801:1-40 882 7179140 9.3 8.8 9.3 8.8 | |
Text.Ascii.go Text.Ascii src/Text/Ascii.hs:2147:5-6 880 829 18.8 48.8 22.4 61.4 | |
Text.Ascii.slice Text.Ascii src/Text/Ascii.hs:2155:5-9 883 7178311 1.0 5.0 1.0 5.0 | |
memcmp Data.ByteString.Internal Data/ByteString/Internal.hs:807:1-44 884 7178311 2.6 7.5 2.6 7.5 | |
Text.Ascii.skip Text.Ascii src/Text/Ascii.hs:2158:5-8 885 24480 0.0 0.0 0.0 0.0 | |
lookupOption Test.Tasty.Options Test/Tasty/Options.hs:(115,1)-(119,27) 866 32 0.0 0.0 0.0 0.0 | |
asyncThreadId Control.Concurrent.Async Control/Concurrent/Async.hs:61:5-17 827 8 0.0 0.0 0.0 0.0 | |
getTraversal Test.Tasty.Runners.Reducers Test/Tasty/Runners/Reducers.hs:53:35-46 873 8 0.0 0.0 0.0 0.0 | |
resultDescription Test.Tasty.Core Test/Tasty/Core.hs:55:5-21 870 8 0.0 0.0 0.0 0.0 | |
resultOutcome Test.Tasty.Core Test/Tasty/Core.hs:53:5-17 867 8 0.0 0.0 0.0 0.0 | |
resultShortDescription Test.Tasty.Core Test/Tasty/Core.hs:64:5-26 872 8 0.0 0.0 0.0 0.0 | |
testPassed Test.Tasty.Providers Test/Tasty/Providers.hs:(26,1)-(32,3) 868 8 0.0 0.0 0.0 0.0 | |
withAsync Control.Concurrent.Async Control/Concurrent/Async.hs:97:1-43 826 0 0.0 0.0 0.0 0.0 | |
actionStatus Test.Tasty.Parallel Test/Tasty/Parallel.hs:22:5-16 822 8 0.0 0.0 0.0 0.0 | |
benchIngredients Test.Tasty.Bench Test/Tasty/Bench.hs:675:1-84 810 0 0.0 0.0 0.0 0.0 | |
composeReporters Test.Tasty.Ingredients Test/Tasty/Ingredients.hs:(133,1)-(141,65) 811 0 0.0 0.0 0.0 0.0 | |
consoleBenchReporter Test.Tasty.Bench Test/Tasty/Bench.hs:(941,1)-(956,51) 812 0 0.0 0.0 0.0 0.0 | |
getApp Test.Tasty.Runners.Reducers Test/Tasty/Runners/Reducers.hs:64:23-28 839 16 0.0 0.0 0.0 0.0 | |
resultDescription Test.Tasty.Core Test/Tasty/Core.hs:55:5-21 891 8 0.0 0.0 0.0 0.0 | |
safeRead Test.Tasty.Options Test/Tasty/Options.hs:(181,1)-(183,23) 889 8 0.0 0.0 0.0 0.0 | |
lookupOption Test.Tasty.Options Test/Tasty/Options.hs:(115,1)-(119,27) 813 1 0.0 0.0 0.0 0.0 | |
consoleTestReporter Test.Tasty.Ingredients.ConsoleReporter Test/Tasty/Ingredients/ConsoleReporter.hs:(380,1)-(429,44) 828 0 0.0 0.0 0.0 0.0 | |
buildTestOutput Test.Tasty.Ingredients.ConsoleReporter Test/Tasty/Ingredients/ConsoleReporter.hs:(97,1)-(154,19) 850 1 0.0 0.0 0.0 0.0 | |
foldTestTree Test.Tasty.Core Test/Tasty/Core.hs:(364,1)-(381,46) 852 2 0.0 0.0 0.0 0.0 | |
lookupOption Test.Tasty.Options Test/Tasty/Options.hs:(115,1)-(119,27) 855 16 0.0 0.0 0.0 0.0 | |
testPatternMatches Test.Tasty.Patterns Test/Tasty/Patterns.hs:(58,1)-(61,48) 854 16 0.0 0.0 0.0 0.0 | |
getApp Test.Tasty.Runners.Reducers Test/Tasty/Runners/Reducers.hs:64:23-28 861 2 0.0 0.0 0.0 0.0 | |
wcwidth Data.Char.WCWidth Data/Char/WCWidth.hs:69:1-69 857 0 0.0 0.0 0.0 0.0 | |
trivialFold Test.Tasty.Core Test/Tasty/Core.hs:(330,1)-(335,3) 851 2 0.0 0.0 0.0 0.0 | |
getApp Test.Tasty.Runners.Reducers Test/Tasty/Runners/Reducers.hs:64:23-28 858 1 0.0 0.0 0.0 0.0 | |
foldTestOutput Test.Tasty.Ingredients.ConsoleReporter Test/Tasty/Ingredients/ConsoleReporter.hs:(171,1)-(185,18) 859 1 0.0 0.0 0.0 0.0 | |
getApp Test.Tasty.Runners.Reducers Test/Tasty/Runners/Reducers.hs:64:23-28 860 3 0.0 0.0 0.0 0.0 | |
getTraversal Test.Tasty.Runners.Reducers Test/Tasty/Runners/Reducers.hs:53:35-46 864 2 0.0 0.0 0.0 0.0 | |
buildTestOutput Test.Tasty.Ingredients.ConsoleReporter Test/Tasty/Ingredients/ConsoleReporter.hs:(97,1)-(154,19) 862 0 0.0 0.0 0.0 0.0 | |
foldTestTree Test.Tasty.Core Test/Tasty/Core.hs:(364,1)-(381,46) 863 0 0.0 0.0 0.0 0.0 | |
withConsoleFormat Test.Tasty.Ingredients.ConsoleReporter Test/Tasty/Ingredients/ConsoleReporter.hs:(649,1)-(658,22) 894 32 0.0 0.0 0.0 0.0 | |
color Test.Tasty.Providers.ConsoleFormat Test/Tasty/Providers/ConsoleFormat.hs:26:5-9 904 24 0.0 0.0 0.0 0.0 | |
colorIntensity Test.Tasty.Providers.ConsoleFormat Test/Tasty/Providers/ConsoleFormat.hs:25:5-18 902 24 0.0 0.0 0.0 0.0 | |
consoleIntensity Test.Tasty.Providers.ConsoleFormat Test/Tasty/Providers/ConsoleFormat.hs:24:5-20 906 24 0.0 0.0 0.0 0.0 | |
setSGR System.Console.ANSI.Unix src/includes/Common-Include-Enabled.hs:21:1-23 897 0 0.0 0.0 0.0 0.0 | |
hSetSGR System.Console.ANSI.Unix src/System/Console/ANSI/Unix.hs:62:1-44 898 32 0.0 0.0 0.0 0.0 | |
setSGRCode System.Console.ANSI.Codes src/System/Console/ANSI/Codes.hs:203:1-52 899 32 0.0 0.0 0.0 0.0 | |
sgrToCode System.Console.ANSI.Codes src/System/Console/ANSI/Codes.hs:(96,1)-(128,46) 901 64 0.0 0.0 0.0 0.0 | |
colorToCode System.Console.ANSI.Codes src/System/Console/ANSI/Codes.hs:(82,1)-(90,14) 905 32 0.0 0.0 0.0 0.0 | |
csi System.Console.ANSI.Codes src/System/Console/ANSI/Codes.hs:77:1-75 900 32 0.0 0.0 0.0 0.0 | |
resultDescription Test.Tasty.Core Test/Tasty/Core.hs:55:5-21 888 8 0.0 0.0 0.0 0.0 | |
resultDetailsPrinter Test.Tasty.Core Test/Tasty/Core.hs:69:5-24 923 8 0.0 0.0 0.0 0.0 | |
resultOutcome Test.Tasty.Core Test/Tasty/Core.hs:53:5-17 893 8 0.0 0.0 0.0 0.0 | |
resultShortDescription Test.Tasty.Core Test/Tasty/Core.hs:64:5-26 907 8 0.0 0.0 0.0 0.0 | |
resultSuccessful Test.Tasty.Core Test/Tasty/Core.hs:(107,1)-(110,23) 916 8 0.0 0.0 0.0 0.0 | |
resultOutcome Test.Tasty.Core Test/Tasty/Core.hs:53:5-17 917 8 0.0 0.0 0.0 0.0 | |
resultTime Test.Tasty.Core Test/Tasty/Core.hs:67:5-14 913 8 0.0 0.0 0.0 0.0 | |
formatMessage Test.Tasty.Runners.Utils Test/Tasty/Runners/Utils.hs:(43,1)-(52,107) 887 0 0.0 0.0 0.0 0.0 | |
wcwidth Data.Char.WCWidth Data/Char/WCWidth.hs:69:1-69 865 0 0.0 0.0 0.0 0.0 | |
getTraversal Test.Tasty.Runners.Reducers Test/Tasty/Runners/Reducers.hs:53:35-46 849 1 0.0 0.0 0.0 0.0 | |
lookupOption Test.Tasty.Options Test/Tasty/Options.hs:(115,1)-(119,27) 829 1 0.0 0.0 0.0 0.0 | |
printStatistics Test.Tasty.Ingredients.ConsoleReporter Test/Tasty/Ingredients/ConsoleReporter.hs:(307,1)-(312,40) 934 1 0.0 0.0 0.0 0.0 | |
statFailures Test.Tasty.Ingredients.ConsoleReporter Test/Tasty/Ingredients/ConsoleReporter.hs:278:5-16 938 2 0.0 0.0 0.0 0.0 | |
withConsoleFormat Test.Tasty.Ingredients.ConsoleReporter Test/Tasty/Ingredients/ConsoleReporter.hs:(649,1)-(658,22) 939 2 0.0 0.0 0.0 0.0 | |
setSGR System.Console.ANSI.Unix src/includes/Common-Include-Enabled.hs:21:1-23 940 0 0.0 0.0 0.0 0.0 | |
hSetSGR System.Console.ANSI.Unix src/System/Console/ANSI/Unix.hs:62:1-44 941 2 0.0 0.0 0.0 0.0 | |
setSGRCode System.Console.ANSI.Codes src/System/Console/ANSI/Codes.hs:203:1-52 942 2 0.0 0.0 0.0 0.0 | |
sgrToCode System.Console.ANSI.Codes src/System/Console/ANSI/Codes.hs:(96,1)-(128,46) 944 4 0.0 0.0 0.0 0.0 | |
colorToCode System.Console.ANSI.Codes src/System/Console/ANSI/Codes.hs:(82,1)-(90,14) 947 2 0.0 0.0 0.0 0.0 | |
csi System.Console.ANSI.Codes src/System/Console/ANSI/Codes.hs:77:1-75 943 2 0.0 0.0 0.0 0.0 | |
statTotal Test.Tasty.Ingredients.ConsoleReporter Test/Tasty/Ingredients/ConsoleReporter.hs:275:5-13 949 1 0.0 0.0 0.0 0.0 | |
statFailures Test.Tasty.Ingredients.ConsoleReporter Test/Tasty/Ingredients/ConsoleReporter.hs:278:5-16 954 1 0.0 0.0 0.0 0.0 | |
useColor Test.Tasty.Ingredients.ConsoleReporter Test/Tasty/Ingredients/ConsoleReporter.hs:(507,1)-(511,20) 895 1 0.0 0.0 0.0 0.0 | |
computeStatistics Test.Tasty.Ingredients.ConsoleReporter Test/Tasty/Ingredients/ConsoleReporter.hs:(291,1)-(293,30) 932 0 0.0 0.0 0.0 0.0 | |
resultSuccessful Test.Tasty.Core Test/Tasty/Core.hs:(107,1)-(110,23) 936 8 0.0 0.0 0.0 0.0 | |
resultOutcome Test.Tasty.Core Test/Tasty/Core.hs:53:5-17 937 8 0.0 0.0 0.0 0.0 | |
getApp Test.Tasty.Runners.Reducers Test/Tasty/Runners/Reducers.hs:64:23-28 933 1 0.0 0.0 0.0 0.0 | |
hSupportsANSI System.Console.ANSI.Unix src/System/Console/ANSI/Unix.hs:(74,1)-(77,65) 834 0 0.0 0.0 0.0 0.0 | |
hSupportsANSIColor System.Console.ANSI.Unix src/includes/Common-Include.hs:(144,1)-(148,49) 841 0 0.0 0.0 0.0 0.0 | |
hSupportsANSI System.Console.ANSI.Unix src/System/Console/ANSI/Unix.hs:(74,1)-(77,65) 842 1 0.0 0.0 0.0 0.0 | |
hideCursor System.Console.ANSI.Unix src/includes/Common-Include.hs:103:1-31 845 0 0.0 0.0 0.0 0.0 | |
hHideCursor System.Console.ANSI.Unix src/System/Console/ANSI/Unix.hs:64:1-40 846 0 0.0 0.0 0.0 0.0 | |
showCursor System.Console.ANSI.Unix src/includes/Common-Include.hs:104:1-31 927 0 0.0 0.0 0.0 0.0 | |
hShowCursor System.Console.ANSI.Unix src/System/Console/ANSI/Unix.hs:65:1-40 928 0 0.0 0.0 0.0 0.0 | |
getTime Test.Tasty.Runners.Utils Test/Tasty/Runners/Utils.hs:(111,1)-(119,31) 802 0 0.0 0.0 0.0 0.0 | |
getTime System.Clock System/Clock.hsc:175:1-101 803 18 0.0 0.0 0.0 0.0 | |
toNanoSecs System.Clock System/Clock.hsc:262:1-73 914 18 0.0 0.0 0.0 0.0 | |
foldTestTree Test.Tasty.Core Test/Tasty/Core.hs:(364,1)-(381,46) 796 1 0.0 0.0 0.0 0.0 | |
lookupOption Test.Tasty.Options Test/Tasty/Options.hs:(115,1)-(119,27) 799 24 0.0 0.0 0.0 0.0 | |
getNumThreads Test.Tasty.Options.Core Test/Tasty/Options/Core.hs:32:35-47 835 8 0.0 0.0 0.0 0.0 | |
testPatternMatches Test.Tasty.Patterns Test/Tasty/Patterns.hs:(58,1)-(61,48) 798 8 0.0 0.0 0.0 0.0 | |
getTraversal Test.Tasty.Runners.Reducers Test/Tasty/Runners/Reducers.hs:53:35-46 794 1 0.0 0.0 0.0 0.0 | |
trivialFold Test.Tasty.Core Test/Tasty/Core.hs:(330,1)-(335,3) 795 1 0.0 0.0 0.0 0.0 | |
benchIngredients Test.Tasty.Bench Test/Tasty/Bench.hs:675:1-84 787 0 0.0 0.0 0.0 0.0 | |
composeReporters Test.Tasty.Ingredients Test/Tasty/Ingredients.hs:(133,1)-(141,65) 788 0 0.0 0.0 0.0 0.0 | |
consoleBenchReporter Test.Tasty.Bench Test/Tasty/Bench.hs:(941,1)-(956,51) 792 0 0.0 0.0 0.0 0.0 | |
consoleTestReporter Test.Tasty.Ingredients.ConsoleReporter Test/Tasty/Ingredients/ConsoleReporter.hs:(380,1)-(429,44) 830 0 0.0 0.0 0.0 0.0 | |
lookupOption Test.Tasty.Options Test/Tasty/Options.hs:(115,1)-(119,27) 831 2 0.0 0.0 0.0 0.0 | |
lookupOption Test.Tasty.Options Test/Tasty/Options.hs:(115,1)-(119,27) 814 0 0.0 0.0 0.0 0.0 | |
testsNames Test.Tasty.Ingredients.ListTests Test/Tasty/Ingredients/ListTests.hs:(30,1)-(35,7) 817 0 0.0 0.0 0.0 0.0 | |
foldTestTree Test.Tasty.Core Test/Tasty/Core.hs:(364,1)-(381,46) 819 1 0.0 0.0 0.0 0.0 | |
lookupOption Test.Tasty.Options Test/Tasty/Options.hs:(115,1)-(119,27) 821 8 0.0 0.0 0.0 0.0 | |
testPatternMatches Test.Tasty.Patterns Test/Tasty/Patterns.hs:(58,1)-(61,48) 820 8 0.0 0.0 0.0 0.0 | |
csvReporter Test.Tasty.Bench Test/Tasty/Bench.hs:(887,1)-(904,69) 789 0 0.0 0.0 0.0 0.0 | |
lookupOption Test.Tasty.Options Test/Tasty/Options.hs:(115,1)-(119,27) 790 1 0.0 0.0 0.0 0.0 | |
listingTests Test.Tasty.Ingredients.ListTests Test/Tasty/Ingredients/ListTests.hs:(39,1)-(45,19) 782 0 0.0 0.0 0.0 0.0 | |
lookupOption Test.Tasty.Options Test/Tasty/Options.hs:(115,1)-(119,27) 783 1 0.0 0.0 0.0 0.0 | |
installSignalHandlers Test.Tasty.Runners.Utils Test/Tasty/Runners/Utils.hs:(71,1)-(82,67) 602 0 0.0 0.0 0.0 0.0 | |
installHandler System.Posix.Signals System/Posix/Signals.hsc:(357,1)-(408,54) 603 6 0.0 0.0 0.0 0.0 | |
testGroup Test.Tasty.Core Test/Tasty/Core.hs:230:1-21 634 0 0.0 0.0 0.0 0.0 |
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
-- For clarity | |
import qualified Data.ByteString as BS | |
import qualified Prelude as P | |
indices :: ByteString -> ByteString -> [Int] | |
indices needle haystack = case BS.uncons needle of | |
Nothing -> [] | |
Just (h, t) -> case BS.uncons t of | |
Nothing -> BS.elemIndices h haystack | |
Just _ -> go . BS.elemIndices h $ haystack | |
where | |
go :: [Int] -> [Int] | |
go = \case | |
[] -> [] | |
(i : is) -> let fragment = slice i in | |
if fragment == needle | |
then i : go (skip i is) | |
else go is | |
{-# SCC go #-} | |
slice :: Int -> ByteString | |
slice i = BS.take (BS.length needle) . BS.drop i $ haystack | |
{-# SCC slice #-} | |
skip :: Int -> [Int] -> [Int] | |
skip i = P.dropWhile (\j -> j - i < BS.length needle) | |
{-# SCC skip #-} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment