rails_malloc_trim 0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: bafee626295e6b952741f6dec0398d5933d6c35799514b6ad1fa7e8809714214
4
+ data.tar.gz: 7b7289058af48681e3e32aed90180253fd7baa5b5281ad15cc293696711592f4
5
+ SHA512:
6
+ metadata.gz: d9eae392aacf732ce8e66df09799236730f6afdffb63bc45fdd28adc4c75a5febe079408ed6e47e9768177faa3389cd6cf0ffdd2d8df4fd04a0d751cc29350b3
7
+ data.tar.gz: 2aea24af753c50cb18e059eca263228f3f94857638c214cdd8002fb7c4c5002cf8485aee5cc073ce6c83bd419668bcfc8af717a5c26ce68a3f29efbabec201b0
@@ -0,0 +1,7 @@
1
+ require 'mkmf'
2
+
3
+ find_header('malloc.h')
4
+ find_header('ruby/debug.h')
5
+ have_func('malloc_trim')
6
+
7
+ create_makefile('rails_malloc_trim/rails_malloc_trim')
metadata ADDED
@@ -0,0 +1,94 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rails_malloc_trim
3
+ version: !ruby/object:Gem::Version
4
+ version: '0.2'
5
+ platform: ruby
6
+ authors:
7
+ - Alexander Tsirel
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2019-06-30 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '4.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '4.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake-compiler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ description: |2
56
+ Call malloc_trim(0) on GC
57
+ Impact:
58
+ - 99th percentile performance is slightly impacted.
59
+ - CPU is very slightly higher
60
+
61
+ Inspired by Philipp Tessenow's malloc_trim gem
62
+ email:
63
+ - noma4i@gmail.com
64
+ executables: []
65
+ extensions:
66
+ - ext/rails_malloc_trim/extconf.rb
67
+ extra_rdoc_files: []
68
+ files:
69
+ - ext/rails_malloc_trim/extconf.rb
70
+ homepage: https://github.com/noma4i/rails_malloc_trim
71
+ licenses:
72
+ - MIT
73
+ metadata: {}
74
+ post_install_message:
75
+ rdoc_options: []
76
+ require_paths:
77
+ - lib
78
+ required_ruby_version: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">"
81
+ - !ruby/object:Gem::Version
82
+ version: '2.1'
83
+ required_rubygems_version: !ruby/object:Gem::Requirement
84
+ requirements:
85
+ - - ">="
86
+ - !ruby/object:Gem::Version
87
+ version: '0'
88
+ requirements: []
89
+ rubyforge_project:
90
+ rubygems_version: 2.7.8
91
+ signing_key:
92
+ specification_version: 4
93
+ summary: Autofix Ruby GC for Rails projects
94
+ test_files: []