jemalloc_rb 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 27b51252fb78a9f1ea8b24cba7825d695e968aeef30fce411af6a6b50795d510
4
- data.tar.gz: 3084cb48d774b74091c47604f3d5d4544e589d6a1339d758f8e07e19d071395e
3
+ metadata.gz: b19fb47439c75068e009c62dfe9c2b9ac9a186cded19bbf9480a1382bdf71058
4
+ data.tar.gz: 842bbb1a554852e057baa0342cca0816e2dcc3bdbb506b7b34a6e8e836e974a4
5
5
  SHA512:
6
- metadata.gz: 5cdfd6f78aa4cd5a990373d48a2aebd65cb6dd9525c392dfb71e2da670d467d33e9b525a05457e68a757af68afe228538b57b3dde7199aa1ac8a7079ad0e91df
7
- data.tar.gz: 7a1816568683398614e3b0adce471bc7a5da96a00f4281bcb10df915ea9a0d9eaf5732bbea617530111fffd78bee5173499610b50d94652a57d0bc546456cb7e
6
+ metadata.gz: 02cb688113d8d9239e8f5b23ebc601b8aea1c96fa0f9d933e735ac312cdb96710229cda0b35af1bc6bf144aa4dc2fe09c37b945f91d96bf3e167522a83d086ff
7
+ data.tar.gz: 8ab5d843e9e79a0174a0b4a417e33f9beaf29520e26c79cd79d3e14f26f0474406ddd132c249209a18a3a211393b2fd3863d2968ea73a97b054f61f0e6f2ad3b
data/LICENSE.txt ADDED
@@ -0,0 +1,29 @@
1
+ jemalloc is released under the terms of the following BSD-derived license:
2
+
3
+ Copyright (C) 2002-2015 Jason Evans <jasone@canonware.com>.
4
+ All rights reserved.
5
+ Copyright (C) 2007-2012 Mozilla Foundation. All rights reserved.
6
+ Copyright (C) 2009-2015 Facebook, Inc. All rights reserved.
7
+
8
+ Redistribution and use in source and binary forms, with or without
9
+ modification, are permitted provided that the following conditions are met:
10
+ 1. Redistributions of source code must retain the above copyright notice(s),
11
+ this list of conditions and the following disclaimer.
12
+ 2. Redistributions in binary form must reproduce the above copyright notice(s),
13
+ this list of conditions and the following disclaimer in the documentation
14
+ and/or other materials provided with the distribution.
15
+
16
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) ``AS IS'' AND ANY EXPRESS
17
+ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
18
+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
19
+ EVENT SHALL THE COPYRIGHT HOLDER(S) BE LIABLE FOR ANY DIRECT, INDIRECT,
20
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
21
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
22
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
23
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
24
+ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
25
+ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
+
27
+ Copyright © 2015 Jason Evans <jasone@canonware.com>.
28
+
29
+ Last updated 2015/08/13.
data/README.md CHANGED
@@ -1,26 +1,28 @@
1
- *This is a fork of https://github.com/kzk/jemalloc-rb (which appears to no longer be maintained). I created this repository to keep the jemalloc (now jemalloc_rb) gem active and open to pull requests.*
1
+ ![jemalloc_rb](https://github.com/henrique-ft/jemalloc_rb/blob/master/jemalloc_rb.png)
2
2
 
3
3
  # jemalloc_rb
4
4
 
5
- Instant [jemalloc](https://jemalloc.net/) injection into Ruby apps, for better performance and less memory.
5
+ Instant [jemalloc](https://jemalloc.net/) injection into Ruby apps, for better performance and less memory. Compatible with the latest versions of Ruby.
6
6
 
7
- # Why?
7
+ *This is a fork of https://github.com/kzk/jemalloc-rb (which appears to no longer be maintained). This repository was created to keep the jemalloc (now jemalloc_rb) gem active and open to pull requests.*
8
+
9
+ ## Why?
8
10
 
9
11
  Ruby relies on malloc(3) for its internal memory allocation. Using better malloc() implementation will boost your application performance, and supress the memory usage.
10
12
 
11
13
  jemalloc is a malloc(3) implementation, originally developed by Jason Evans. jemalloc handles small object better than other allocators so usually gives better performance and memory usage to Ruby programs.
12
14
 
13
- # Why jemalloc_rb?
15
+ ## Why jemalloc_rb?
14
16
 
15
17
  Installing jemalloc separately from Ruby is pain in some cases (e.g. Heroku, EngineYard, etc). `je` gem contains jemalloc itself within a gem, and enables instant jemalloc injection in a really easy way: install `jemalloc_rb` gem, and launch your app with `je` command.
16
18
 
17
- # Install
19
+ ## Install
18
20
 
19
21
  Install `jemalloc_rb` gem in your application. For [bundler](http://gembundler.com/) based application, please add the following line into your Gemfile, and and install `jemalloc_rb` by `bundle install`.
20
22
 
21
23
  gem 'jemalloc_rb'
22
24
 
23
- # Usage
25
+ ## Usage
24
26
 
25
27
  Execute your application with `je` command, which is contained in `je` gem. Example command for Rails + bundler application is like follows.
26
28
 
@@ -33,10 +35,6 @@ Execute your application with `je` command, which is contained in `je` gem. Exam
33
35
  => Booting WEBrick
34
36
  ...
35
37
 
36
- # Limitation
38
+ ## Limitation
37
39
 
38
40
  Currently, this gem works only on Linux and Mac OS X.
39
-
40
- # License
41
-
42
- [BSD-derived License](http://www.canonware.com/jemalloc/license.html).
@@ -2,7 +2,7 @@ require 'mkmf'
2
2
  require 'rbconfig'
3
3
 
4
4
  $stdout.sync = true
5
- pkg = "jemalloc-5.2.1"
5
+ pkg = "jemalloc-5.3.1"
6
6
 
7
7
  def sys(cmd)
8
8
  puts "$ #{cmd}"
Binary file
data/jemalloc_rb.png ADDED
Binary file
@@ -1,3 +1,3 @@
1
1
  module JemallocRb
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jemalloc_rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henrique F. Teixeira
@@ -63,12 +63,15 @@ files:
63
63
  - ChangeLog
64
64
  - Gemfile
65
65
  - Gemfile.lock
66
+ - LICENSE.txt
66
67
  - README.md
67
68
  - Rakefile
68
69
  - bin/je
69
70
  - ext/jemalloc/extconf.rb
70
- - ext/jemalloc/jemalloc-5.2.1.tar.bz2
71
+ - ext/jemalloc/jemalloc-5.3.1.tar.bz2
72
+ - jemalloc_rb-1.0.0.gem
71
73
  - jemalloc_rb.gemspec
74
+ - jemalloc_rb.png
72
75
  - lib/jemalloc_rb/version.rb
73
76
  homepage: https://github.com/henrique-ft/jemalloc_rb
74
77
  licenses: []