Sha256: b73b1f5da964ac3591c67ec41cd104f15a1a2704304fb9a78966a27f97a6586e

Contents?: true

Size: 671 Bytes

Versions: 2

Compression:

Stored size: 671 Bytes

Contents

# mjit.gem - RubyVM::MJIT.disable

This is unofficial. Own your risk!

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'mjit'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install mjit

## Usage

When you use this gem, you must start Ruby with --jit. Otherwise it segfaults.

This gem adds following interfaces.

```rb
require 'mjit'

# This stops MJIT's internal profiler. Actually this doesn't stop MJIT compilation.
RubyVM::MJIT.disable

# This enables it again.
RubyVM::MJIT.enable
```

## License

The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mjit-0.3.0 README.md
mjit-0.2.0 README.md