Search result of: Ben Li
Total 30 records
比如 xml 文件中包括了全部的 cpu gpu 型号 Intel Xeon E5-2679 v4 @ 2.50GHz 2.50
Little C Extension - Lego Robots are magic by Brandon Hays Incremental GC for Ruby interpreter by Koichi Sasada Writing mruby Debugger by Yurie Yamane Harnessing other languages to make Ruby better Ruby-red onions - Peeling
Benchmark # /tmp/a.rb obj = Object.new 100_000.times do |i| obj.respond_to?("sym#{i}".to_sym) end GC.start puts"symbol : #{Symbol.all_symbols.size}" % time RBENV_VERSION=ruby-r45059 ruby -v /tmp/a.rb ruby 2.2.0dev (2014-02-20 trunk
benchmarks at the bottom of the post, so if you're just interested in those, scroll down. Option 1: Use transactions This is definitely the easiest method, and while you'll realize gains from
linux (64 位) 今天一看, 正式版已经 17, 开发版已经 19 了. TNND, 我喜欢将自己用的一大堆工具软件都放在~/{HOME}/bin 下面, 这次超级郁 闷, chrome-sandbox 现在 hardcode 到/opt/google/chrome 了, 也就是说你必须将 这个文件扔到/opt/google/chrome 下面, 才可以正常启动, 除非你用--no-sandbox 参数. 为了不让这个帖子成为水贴: 偶发下 Chrome
line) puts '------------批量编码code成功导入数据---------------------' rescue ActiveRecord::RecordNotUnique => e puts '------------自动生成编码异常重新开始---------------------' Qrcode.generate_qr(digit,number,prefixion) end puts '------------结束批量导入数据库---------------------' return '' end def self.generate_code(digit) code = [*('a'..'z'),*('A'..'Z'),*(0..9)].shuffle[0..digit].join
Linux / Unix 操作系统 熟练阅读英语文档 加分项 精通数据分析 有大型系统的开发经验 熟悉心理学或心理咨询 应聘方式 请将你的: 简历 联系方式 期望薪资 开源项目网址 近期能够代表你编程水平的代码片段(如果开源项目的代码不足以代表你的水平的话) 发送至 [email protected]
benchmarks 测量出潜在的性能提升,但这并 不是 准备好接受最终性能测试的 Ruby JIT 编译器,特别是对于大型应用,例如 Rails 的测试。 我们正着手实现 JIT 编译器的内联方法,这将有助于大幅提升 Ruby 的性能。此外,我们计划增加支持的平台的数量,而下一个目标是支持 Visual Studio。 请保持对 Ruby 新时代性能的关注。 新特性 新增 Random.bytes。[功能 #4938] 新增 Binding#source_location
Linux environments. Strong communication skills in English with an ability to coordinate the incident response with urgency. Proper remote presence & etiquette (acknowledging requests in a timely fashion over Slack, not leaving requests unacknowledged
lighthouse) # Add wisely, as too many plugins slow down shell startup. plugins=(bundler git vi-mode) rails c # Awesome! It's equal to `bundle exec rails c` after load bundler plugin in Zsh rails
Linux / Unix 操作系统 能够阅读英语文档 加分项 Ruby 相关的开源项目(可以是 fork 后修改的项目) 熟悉 Docker 精通数据分析 有大型系统的开发经验 应聘方式 请将你的: 简历 联系方式 期望薪资 开源项目网址 近期能够代表你编程水平的代码片段(如果开源项目的代码不足以代表你的水平的话) 发送至 [email protected]
https://github.com/luikore/nyara 大致功能是相当于 eventmachine + thin + rack + sinatra + 0.5 padrino 弄了一周多, 差不多 5k 行了
require 'net/http' require 'nokogiri' require 'benchmark' begin_time = Time.now uri = URI('http://www2.kugou.kugou.com/yueku/v8/album/index/getData.js') referrer
Linux / Unix 操作系统 能够阅读英语文档 加分项 Ruby 相关的开源项目(可以是 fork 后修改的项目) 熟悉 Go 语言 熟悉 Docker 精通数据分析 有大型系统的开发经验 熟悉心理学或心理咨询 应聘方式 请将你的: 简历 联系方式 期望薪资 开源项目网址 近期能够代表你编程水平的代码片段(如果开源项目的代码不足以代表你的水平的话) 发送至 [email protected]
live by the power of technology, design and entrepernership. We are an international group of hackers, designers and growth hackers who are dedicated to solving real problems. We've founded several startups and will continue
benchmarks/workloads to identify performance issues. Design and build automatic performance diagnosis & analysis tools. Implement or prototype optimization ideas Research next generation architectures to improve the performance. Minimum Qualifications Experience with performance diagnosis of large scale
benchmarks/workloads to identify performance issues. Design and build automatic performance diagnosis & analysis tools. Implement or prototype optimization ideas Research next generation architectures to improve the performance. Minimum Qualifications Experience with performance diagnosis of large scale
benchmarks/workloads to identify performance issues. Design and build automatic performance diagnosis & analysis tools. Implement or prototype optimization ideas. Research next generation architectures to improve the performance. Minimum Qualifications Experience with performance diagnosis of large scale
benchmarks/workloads to identify performance issues. Design and build automatic performance diagnosis & analysis tools. Implement or prototype optimization ideas Research next generation architectures to improve the performance. Minimum Qualifications Experience with performance diagnosis of large scale
benchmark-ips 来检查。 这个去除重复对象的小技巧虽然常被用来处理字符串,但是当你要把其他对象分配给常量的时候也可以使用。事实上,储存外部连接(例如 Redis)的时候,这个技巧已经成了一种通用模式了。例如: RETAINED_REDIS_CONNECTION = Redis.new 因为常量引用了 Redis 的连接,所以它不会被垃圾回收。 很有趣吧,有时我们很小心地保留住对象是可以降低内存占用的。 Short Lived
Benchmark 已经有很多团队在论坛分享了,这里就不再赘述,主要分享一些技术指标和选型,以及很多小伙伴感兴趣的 Dgraph 对比使用经验。 技术指标硬件 配置如下: 处理器:Intel(R) Xeon(R) Gold 6230 CPU @ 2.10GHz 80(cores) 内存:DDR4,128G 存储:1.8T SSD 网络:万兆 Nebula Graph 部署 5 个节点
links in your web application faster. Instead of letting the browser recompile the JavaScript and CSS between each page change, it keeps the current page instance alive and replaces only the body and the title
benchmark,各种速度比较。 于是就拿过来玩耍了一下,测试了一下水印。 composite 函数,就是合成。 基本流程应该是这样的: require 'vips' img = Vips::Image.new_from_file 'DSC00536.JPG' img = img.resize 500.0 / img.width logo = Vips::Image.new_from_file 'film.png' logo = logo.gravity 'south-east', img.width, img.height img.composite(logo, :over
LIKE 检索似乎在小数据里面没什么问题,3w 数据了,1000 次,大概 1 秒左右 加个 InnoDB FULLTEXT ,对于中文检索来说, 能快很多嘛? MATCH () AGAINST () IN BOOLEAN MODE 在中文环境 也是用 boolean mode? 我的期待: migration 里面加 add_index :users, :name, name: 'name_idx', type: :fulltext
line"]}"} .sort{|a,b| b[1].count a[1].count} .each do |k,v| puts "#{k} * #{v.count}" end end end Analyzer.new(ARGV[0]).analyze generation 19 objects 407 /usr/local/lib/ruby/2.2.0/weakref.rb:87 * 144 /var/www/discourse/vendor/bundle/ruby/2.2.0/gems/therubyracer-0.12.1/lib/v8/weak.rb:21 * 72 /var/www/discourse/vendor/bundle/ruby/2.2.0/gems/therubyracer-0.12.1/lib/v8/weak.rb
literal: true class ExampleComponent # test/components/example_component_test.rb require "test_helper" class ExampleComponentTest < ViewComponent::TestCase def test_component_rendering assert_equal( %( Hello! ), render_inline(ExampleComponent.new(greeting: "Hello
benefit? Is inheritance helpful or harmful? What about roles / mixins / traits? Which problems does the actor model solve? Which ones are better solved by single-threaded concurrency? What about Communicating Sequential Processes
Linux OSX 平台下完成工作 加分: 熟悉客户端的 mvc 架构 熟悉 bootstrap 等常用 UI 熟悉 Ruby on Rails 熟悉 sass、coffeescript 职位:Ruby 程序员 职责: 使用 Ruby on Rails 完成 Web 项目 与前端开发合作完成页面渲染 与后端人员合作完成数据调用(基于 REST
benefits to encapsulate the data: Hide away the data that is non-important to the users of the object but important to the workings of the object. avoid messing up the internal states