Sha256: a58cde9e1d1751125ef7f2d8eedb37c5bf73cd09ec0d3f93827589df827e7f9b

Contents?: true

Size: 702 Bytes

Versions: 10

Compression:

Stored size: 702 Bytes

Contents

Sets boolean to enable/disable profiling. Vedeu's default setting is
for profiling to be disabled. Using `profile!` or setting `profile` to
true will enable profiling.

Profile uses 'ruby-prof' to write a 'vedeu_profile' file to the /tmp
directory which contains a call trace of the running application.
Upon exit, this file can be examined to ascertain certain behaviours
of Vedeu. Note: On Windows systems, the log directory is determined by
the output from `Dir.tmpdir`.

Note:
Be aware that running an application with profiling enabled will
affect performance considerably.

    Vedeu.configure do
      profile!
      # ...
    end

    Vedeu.configure do
      profile false
      # ...
    end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
vedeu-0.8.31 docs/configuration/profile.md
vedeu-0.8.30 docs/configuration/profile.md
vedeu-0.8.29 docs/configuration/profile.md
vedeu-0.8.28 docs/configuration/profile.md
vedeu-0.8.27 docs/configuration/profile.md
vedeu-0.8.26 docs/configuration/profile.md
vedeu-0.8.25 docs/configuration/profile.md
vedeu-0.8.24 docs/configuration/profile.md
vedeu-0.8.23 docs/configuration/profile.md
vedeu-0.8.22 docs/configuration/profile.md