Did you know? SWI-Prolog has a ProfilerSearch Documentation:
SWI-Prolog owl logoPredicate read_stream_to_codes/2