jadex.testcases.benchmarks
Agent MessagePerformance
- agent MessagePerformance
Test messaging perfomance.
Sends/receives a number of messages and prints out the time it takes.
1000 messages (p4-3000, JVM 1.5).
| Standalone(nsmt) | Jade(http) |
platform | 1400ms | 2000 |
host | 7000ms | 8400 |
network | 5000ms | 6000 |
Plan Summary |
standard plan |
test()
The test plan sends/receives 1000 messages. |
Event Summary |
messageevent |
inform(String performative)
This message is echoed or sent to itself, and therefore also received. |
target
belief AgentIdentifier target
test
standard plan test()
- The test plan sends/receives 1000 messages.
- Plan body:
new MessagePerformancePlan(1000, $beliefbase.target)
inform
messageevent inform(String performative)
- This message is echoed or sent to itself, and therefore also received.
- Parameters:
- fixed parameter
performative
Default value:
SFipa.INFORM
- Event flags:
- direction: send_receive
- message type: fipa
- random selection: false
- meta-level reasoning: true
- post to all: false
local
default initial state local
- Initial Beliefs:
- target Initial value:
$agent.getAgentIdentifier()
- Initial Plans:
- test
jade(vsispro3)
initial state jade(vsispro3)
- Initial Beliefs:
- target Initial value:
new AgentIdentifier("echo@vsispro3:1099/JADE", new String[]{"http://134.100.11.53:7778/acc"})
- Initial Plans:
- test
jade(vsisstaf8)
initial state jade(vsisstaf8)
- Initial Beliefs:
- target Initial value:
new AgentIdentifier("Echo@vsisstaff8:1099/JADE", new String[]{"http://134.100.11.208:7778/acc"})
- Initial Plans:
- test
jade(vsisstaf0)
initial state jade(vsisstaf0)
- Initial Beliefs:
- target Initial value:
new AgentIdentifier("Echo@vsisstaff0:1099/JADE", new String[]{"http://134.100.11.200:7778/acc"})
- Initial Plans:
- test
tcp(vsispro3)
initial state tcp(vsispro3)
- Initial Beliefs:
- target Initial value:
new AgentIdentifier("Echo", new String[]{"tcp://134.100.11.53:2091"})
- Initial Plans:
- test
nsmt
initial state nsmt
- Initial Beliefs:
- target Initial value:
new AgentIdentifier("Echo", new String[]{"nsmt:127.0.0.1:3031"})
- Initial Plans:
- test
nsmt(vsisstaff0)
initial state nsmt(vsisstaff0)
- Initial Beliefs:
- target Initial value:
new AgentIdentifier("Echo", new String[]{"nsmt:134.100.11.200:2091"})
- Initial Plans:
- test
Submit a bug or feature
For further API reference and developer documentation, see the Jadex User Guide and the Jadex Tutorial. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, and working code examples. Copyright (C) 2002-2005 Lars Braubach, Alexander Pokahr, Andrzej Walczak - University of Hamburg. Use is subject to license terms.