[Archipelago-submits] [45] trunk/archipelago/profiles: removed profiles
nobody at rubyforge.org
nobody at rubyforge.org
Sat Nov 25 19:04:29 EST 2006
Revision: 45
Author: zond
Date: 2006-11-25 19:04:28 -0500 (Sat, 25 Nov 2006)
Log Message:
-----------
removed profiles
Removed Paths:
-------------
trunk/archipelago/profiles/1000xChest#join!-prepare!-commit!.rb
trunk/archipelago/profiles/1000xDubloon#[]=(t).rb
trunk/archipelago/profiles/1000xDubloon#method_missing(t).rb
trunk/archipelago/profiles/README
trunk/archipelago/profiles/profile_helper.rb
Deleted: trunk/archipelago/profiles/1000xChest#join!-prepare!-commit!.rb
===================================================================
--- trunk/archipelago/profiles/1000xChest#join!-prepare!-commit!.rb 2006-11-25 13:06:45 UTC (rev 44)
+++ trunk/archipelago/profiles/1000xChest#join!-prepare!-commit!.rb 2006-11-26 00:04:28 UTC (rev 45)
@@ -1,19 +0,0 @@
-
-require File.join(File.dirname(__FILE__), 'profile_helper')
-require 'treasure'
-require 'drb'
-
-DRb.start_service
- at c = TestChest.new
-
-k = "hej"
-v = "oj"
-t = TestTransaction.new
-1000.times do |n|
- @c[k, t] = v
- @c.prepare!(t)
- @c.commit!(t)
-end
-
- at c.persistence_provider.unlink
-DRb.stop_service
Deleted: trunk/archipelago/profiles/1000xDubloon#[]=(t).rb
===================================================================
--- trunk/archipelago/profiles/1000xDubloon#[]=(t).rb 2006-11-25 13:06:45 UTC (rev 44)
+++ trunk/archipelago/profiles/1000xDubloon#[]=(t).rb 2006-11-26 00:04:28 UTC (rev 45)
@@ -1,19 +0,0 @@
-
-require File.join(File.dirname(__FILE__), 'profile_helper')
-require 'treasure'
-require 'drb'
-
-DRb.start_service
- at c = TestChest.new
- at tm = TestManager.new
-
-tr = @tm.begin
-k = "hej"
-v = "oj"
-1000.times do |n|
- @c[k,tr] = v
-end
-
- at c.persistence_provider.unlink
-File.unlink(@tm.db.filename)
-DRb.stop_service
Deleted: trunk/archipelago/profiles/1000xDubloon#method_missing(t).rb
===================================================================
--- trunk/archipelago/profiles/1000xDubloon#method_missing(t).rb 2006-11-25 13:06:45 UTC (rev 44)
+++ trunk/archipelago/profiles/1000xDubloon#method_missing(t).rb 2006-11-26 00:04:28 UTC (rev 45)
@@ -1,21 +0,0 @@
-
-require File.join(File.dirname(__FILE__), 'profile_helper')
-require 'treasure'
-require 'drb'
-
-DRb.start_service
- at c = TestChest.new
- at tm = TestManager.new
-
-tr = @tm.begin
-k = "hej"
-v = "oj"
- at c[k,tr] = v
-v = @c[k,tr]
-1000.times do |n|
- t = v.upcase
-end
-
- at c.persistence_provider.unlink
-File.unlink(@tm.db.filename)
-DRb.stop_service
Deleted: trunk/archipelago/profiles/README
===================================================================
--- trunk/archipelago/profiles/README 2006-11-25 13:06:45 UTC (rev 44)
+++ trunk/archipelago/profiles/README 2006-11-26 00:04:28 UTC (rev 45)
@@ -1,3 +0,0 @@
-These are just simple scripts to profile certain parts of the system.
-
-Use ruby-prof to run them and get good profiling.
Deleted: trunk/archipelago/profiles/profile_helper.rb
===================================================================
--- trunk/archipelago/profiles/profile_helper.rb 2006-11-25 13:06:45 UTC (rev 44)
+++ trunk/archipelago/profiles/profile_helper.rb 2006-11-26 00:04:28 UTC (rev 45)
@@ -1,25 +0,0 @@
-
-home = File.expand_path(File.dirname(__FILE__))
-$: << File.join(home, "..", "lib")
-
-require 'pp'
-require 'tranny'
-require 'treasure'
-
-class TestManager < Archipelago::Tranny::Manager
- attr_reader :db
- def log_error(e)
- puts e
- pp e.backtrace
- end
-end
-
-class TestChest < Archipelago::Treasure::Chest
- attr_reader :persistence_provider
-end
-
-class TestTransaction
- def join(o)
- end
-end
-
More information about the Archipelago-submits
mailing list