• 👍🏻

  • 哈哈,刚刚没有算rspec的代码

  • +----------------------+-------+-------+---------+---------+-----+-------+
    | Name                 | Lines |   LOC | Classes | Methods | M/C | LOC/M |
    +----------------------+-------+-------+---------+---------+-----+-------+
    | Controllers          |  8871 |  7469 |     102 |     823 |   8 |     7 |
    | Helpers              |  2309 |  1960 |       2 |     227 | 113 |     6 |
    | Models               | 29324 | 23043 |     415 |    2629 |   6 |     6 |
    | Libraries            | 10119 |  7971 |     175 |     928 |   5 |     6 |
    | Functional tests     |   326 |   274 |       4 |      24 |   6 |     9 |
    | Unit tests           |     0 |     0 |       0 |       0 |   0 |     0 |
    | Controller specs     | 12005 | 10352 |       0 |      37 |   0 |   277 |
    | Helper specs         |   575 |   487 |       0 |       4 |   0 |   119 |
    | Integration specs    |   441 |   360 |       0 |       8 |   0 |    43 |
    | Lib specs            |  5997 |  4961 |       1 |      26 |  26 |   188 |
    | Mailer specs         |   685 |   621 |       0 |       0 |   0 |     0 |
    | Model specs          | 45021 | 37825 |       3 |     181 |  60 |   206 |
    | Presenter specs      |   290 |   240 |       0 |       0 |   0 |     0 |
    | Request specs        | 20972 | 18067 |       0 |     105 |   0 |   170 |
    | Routing specs        |    23 |    19 |       0 |       0 |   0 |     0 |
    | Service specs        |  4590 |  3812 |      20 |      82 |   4 |    44 |
    | Task specs           |   109 |    88 |       0 |       0 |   0 |     0 |
    | Util specs           |    42 |    36 |       0 |       2 |   0 |    16 |
    | Worker specs         |   321 |   284 |       0 |       0 |   0 |     0 |
    +----------------------+-------+-------+---------+---------+-----+-------+
    | Total                | 142020 | 117869 |     722 |    5076 |   7 |    21 |
    +----------------------+-------+-------+---------+---------+-----+-------+
      Code LOC: 40443     Test LOC: 77426     Code to Test Ratio: 1:1.9
    
  • 不一定的,真的也许他们需要senior一些的。调整心态,加油

  • 求推荐机械键盘 at 2017年3月05日

    Cherry 红

  • so cool

  • 要求写反了 哈哈

  • @lithium4010 Ok 我理解你的意思了,确实和队列有关,往一个队列里放就保证前者执行后者后执行?这都是没有任何错误的情况吧,如果发生错误,需要重试呢? 怎么布代码?hard code 1.minute ?那就更不靠谱了

  • 也许你的是ok的。我想,就上传图片吧,你可以很好的预测出时间来?((算上网络情况,服务器的情况),我没太明白“q << n” 什么意思? 1w张图片,你就能保证一分钟后执行B? sidekiq并行执行任务和执行一个单个任务时间差不多?MRI ruby 是 green thread吧,而且“队列先进先出” 有啥关系?

  • 感觉估算不靠谱

ruby js elixir