Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #45 from takkii/virtual
Browse files Browse the repository at this point in the history
Update, README.
  • Loading branch information
takkii authored Oct 18, 2019
2 parents 98ead8f + c456afd commit b9c6777
Showing 1 changed file with 79 additions and 26 deletions.
105 changes: 79 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,77 +85,128 @@ Copyright (c) 2013-2019 Takayuki Kamiyama
その他の義務について何らの責任も負わないものとします。
```

> minitest、実行結果。更新履歴 [2019.3.19]
> minitest、実行結果。更新履歴 [2019.10.18]
```markdown

~~~~~~~~~~~~~~~~~~~~~ mini_test in filename list ... start ~~~~~~~~~~~~~~~~~~~~~

[ タイムスタンプ ]
2019年10月18日 19時27分38秒

[ 実行環境 ]
ruby 2.6.5p114 (2019-10-01 revision 67812) +JIT [x86_64-linux]

[ ミニテストファイル読み込み ]
./mini_test/mini_test_date.rb
./mini_test/mini_test_encode.rb
./mini_test/mini_test_method.rb
./mini_test/mini_test_search.rb
./mini_test/mini_test_sort.rb
./mini_test/mini_test_updown.rb
./mini_test/mini_test_version.rb
./mini_test/test_helper.rb
./mini_test/mini_test_search.rb

~~~~~~~~~~~~~~~~~~~~~~ mini_test in filename list ... end ~~~~~~~~~~~~~~~~~~~~~~


Started with run options --seed 43186
Started with run options --seed 16021

TestMethod
test_method PASS (0.00s)

VersionTest
test_version PASS (0.00s)

TestUpDown
test_updown PASS (0.00s)

Search
test_search PASS (0.00s)

Finished in 0.00142s
2 tests, 2 assertions, 0 failures, 0 errors, 0 skips
TestEncode
test_encode PASS (0.00s)

TestDate
test_date PASS (0.00s)

TestSort
test_date PASS (0.00s)

Finished in 0.00153s
7 tests, 8 assertions, 0 failures, 0 errors, 0 skips


```

> minitest、Benchmark [2019.01]
> minitest、Benchmark [2019.10.18]
```markdown

---------------- mini_test assert Benchmark ----------------

user system total real
version1 1.0.8.5
version1 1.0.12.2.beta2

0.000000 0.000000 0.000000 ( 0.000022)
0.000000 0.000000 0.000000 ( 0.000020)
version2 1.0.8.5

0.000000 0.000000 0.000000 ( 0.000021)
0.000000 0.000000 0.000000 ( 0.000013)
match1 0

0.000000 0.000000 0.000000 ( 0.000036)
0.000000 0.000000 0.000000 ( 0.000018)
match2 a

0.000000 0.000000 0.000000 ( 0.000051)
date01 2019年01月19日 20時09分10秒
0.000000 0.000000 0.000000 ( 0.000112)
date02 2019年01月19日 20時09分10秒
0.000000 0.000000 0.000000 ( 0.000027)
method01 [1, 4, 7, 10] 0.000000 0.000000 0.000000 ( 0.000031)
method02 [1, 4, 7, 10] 0.000000 0.000000 0.000000 ( 0.000022)
sort01 ["C#", "Go", "Hive", "Java", "Perl", "Ruby"] 0.000000 0.000000 0.000000 ( 0.000024)
sort02 ["C#", "Go", "Hive", "Java", "Perl", "Ruby"] 0.000000 0.000000 0.000000 ( 0.000021)
0.000000 0.000000 0.000000 ( 0.000036)
date01 2019年10月18日 19時29分20秒
0.000000 0.000000 0.000000 ( 0.000037)
date02 2019年10月18日 19時29分20秒
0.000000 0.000000 0.000000 ( 0.000014)
method01 [1, 4, 7, 10] 0.000000 0.000000 0.000000 ( 0.000014)
method02 [1, 4, 7, 10] 0.000000 0.000000 0.000000 ( 0.000010)
sort01 ["C#", "Go", "Hive", "Java", "Perl", "Ruby"] 0.000000 0.000000 0.000000 ( 0.000016)
sort02 ["C#", "Go", "Hive", "Java", "Perl", "Ruby"] 0.000000 0.000000 0.000000 ( 0.000009)
gc {:count=>13, :heap_allocated_pages=>62, :heap_sorted_length=>62, :heap_allocatable_pages=>0, :heap_available_slots=>25274, :heap_live_slots=>18452, :heap_free_slots=>6822, :heap_final_slots=>0, :heap_marked_slots=>16920, :heap_eden_pages=>62, :heap_tomb_pages=>0, :total_allocated_pages=>62, :total_freed_pages=>0, :total_allocated_objects=>73789, :total_freed_objects=>55337, :malloc_increase_bytes=>101496, :malloc_increase_bytes_limit=>16777216, :minor_gc_count=>10, :major_gc_count=>3, :remembered_wb_unprotected_objects=>220, :remembered_wb_unprotected_objects_limit=>420, :old_objects=>16449, :old_objects_limit=>30048, :oldmalloc_increase_bytes=>101496, :oldmalloc_increase_bytes_limit=>16777216}
0.000000 0.000000 0.000000 ( 0.000082)
druby_erb
<html>
<head>時刻表示</head>
<body>
<p>2019年10月18日 19時29分20秒<p>
</body>
</html>

0.031250 0.281250 0.609375 ( 0.473178)

---------------- mini_test assert Benchmark ----------------

/home/takkii/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/tanraku-1.0.0/lib/tanraku.rb:90:in `raise'
/home/takkii/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/tanraku-1.0.0/lib/tanraku.rb:90:in `tanraku'
benchmark.rb:82:in `<main>'
Tanraku Method Exception --> next class search...

```

> unit test [2019.09]
> unit test [2019.10.18]
```markdown

------------- ./test in filename list...start! -------------


[ タイムスタンプ ]
2019年09月15日 17時13分58秒
2019年10月18日 19時28分37秒

[ 実行環境 ]
ruby 2.6.4p104 (2019-08-28 revision 67798) +JIT [x86_64-linux]
ruby 2.6.5p114 (2019-10-01 revision 67812) +JIT [x86_64-linux]

[ ミニテストファイル読み込み ]
./test/test_date.rb
./test/test_encode.rb
./test/test_matcher.rb
./test/test_method.rb
./test/test_sort.rb
./test/test_up_down.rb
./test/test_version.rb

------------- ./test in filename list...exit. --------------
Expand All @@ -165,11 +216,13 @@ ruby 2.6.4p104 (2019-08-28 revision 67798) +JIT [x86_64-linux]

Loaded suite test
Started
.........
Finished in 0.0015386 seconds.
---------------------------------------------------------------------------------------------------------------------------------------------------------------9 tests, 6 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
..................................
Finished in 0.0048158 seconds.
---------------------------------------------------------------------------------------------------------
34 tests, 38 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed
---------------------------------------------------------------------------------------------------------------------------------------------------------------5849.47 tests/s, 3899.65 assertions/s
---------------------------------------------------------------------------------------------------------
7060.09 tests/s, 7890.69 assertions/s

----------------------- Test All End -----------------------

Expand Down

0 comments on commit b9c6777

Please sign in to comment.