Essence.Benchmark (essence v0.3.0)

This module contains a collection of methods that assist in benchmarking and performance optimizing the Essence package.

Link to this section Summary

Functions

Reading a plain text file from the given filename path and tokenizing the text. Alternative A.

Reading a plain text file from the given filename path and tokenizing the text. Alternative B.

Link to this section Functions

Link to this function

from_plaintext_file_a(filename)

Specs

from_plaintext_file_a(filename :: String.t()) ::
  {list(),
   %Essence.Document{
     meta: term(),
     nested_tokens: term(),
     text: term(),
     type: term(),
     uri: term()
   }}

Reading a plain text file from the given filename path and tokenizing the text. Alternative A.

Link to this function

from_plaintext_file_b(filename)

Specs

from_plaintext_file_b(filename :: String.t()) ::
  {list(),
   %Essence.Document{
     meta: term(),
     nested_tokens: term(),
     text: term(),
     type: term(),
     uri: term()
   }}

Reading a plain text file from the given filename path and tokenizing the text. Alternative B.