JProfiler: will it have preventive analysis? - jprofiler

Is preventive analysis like this one here something in JProfiler's roadmap?
Or is it available and I just miss it?

Have a look at the "Inspections" view of the heap walker.

Related

Dynamic constraint satisfaction in OptaPlanner

I am evaluating OptaPlanner for a planning problem I have. I have seen several responses to this topic, but nothing quite like I am looking for.
I am looking for the capability to extend the problem on the fly; that is, as the planner is solving a problem.
For example, in the CloudComputing example, I would like to be able to add computers on the fly (to a point) while the problem is being solved. The easiest case is that the problem is initially over-constrained and to resolve this I would like to be able to add computers, and then replan.
Or, I would like to be able to add a lecture, or a lecturer in one of the scheduling problems, etc.
It seems like the OptaPlanner requires a static number of entities / variables at solve time.
Any pointers would be appreciated.
Take a look at the Real-time planning section of the OptaPlanner User Guide.
You could also look at the Travelling Salesman Problem example in optaplanner-examples. Specifically, look at the org.optaplanner.examples.tsp.swingui.TspPanel class and traverse down from there. It's a pretty standard implementation of real-time planning AFAIK. I can also recommend to run the TSP example first to "see" how it works.

Eviction before out of memory in Infinitispan

When eviction is configured in infinitispan, it's necessary set maxEntries. But I'm not sure how many entries fit in the memory of the machine where infinitispan is executing.
Is possible to configure infinitispan to evict when memory is full?
Thanks.
I think this is not (easily) possible yet. Here you can find tracking JIRA for this issue: https://issues.jboss.org/browse/ISPN-863
However this discussion is full of interesting ideas and maybe suitable workarounds for your case and it's definitely worth to look at: https://community.jboss.org/thread/165951?start=0&tstart=0
I'm afraid I can't give you anything more at this moment.
Hope that helps.

How to access properties in domain object statistics tab?

It would be helpful for me to access values in the statistics tab of pillar grids and horizons. I can calculate much of it myself, but if these properties exist somewhere it would be much easier if I could just access them instead.
The StatisticsService and the Statistics class should provide you with most of the information you need.
You can find details on the use of it in Volume #9 of the Ocean Developers Guide. It's the Petrel Customization volume.

Are there any code coverage analysis tools for Intersystems Cache object script?

If there is some sort of debugging API that would allow someone to write his own code coverage analysis tools that would be acceptable as well. I don't believe this is a poll question because the exhaustive list of such tools is probably quite small.
There are no readymade coverage tools (afaik). However, you might be able to utilize the MONLBL facilities (here). These were introduced to be able to identify performance hotspots.
It would be interesting to look into the code of these, as the necessary hooks to create a code coverage tool are quite similar to the ones you need to create the performance monitoring. If you have access to the WRC I strongly recommend to raise this with ISC, it definitely sounds like something many people could use!
HTH
edit: come to think of it, since monlbl gives you the # of times a line is executed, it's a code coverage with benefits ;) So, the answer is: yes, there are
debuging in Cache' Studio.
there is also ^PERFMON

Time estimate for ABAP development

I'm looking for a table or list of standard time estimations for developments in ABAP, something customizable in some variables according to the development team, complexity of project, etc...
Something similar to:
Simple Module Pool -> 10 hours
Complex Module Pool -> 30 hours
Definition of Dictionary -> (0,4 * number_of_tables * average_fields ) hours
ALV Report -> (2 * number_of_parameters) hours
I've searched but haven't found anything yet. I found AboveSoft Adaptive Estimator, what looks like a software tool to do what I need, but I prefer something... manual, an official or standard table.
Do you know anything like that?
Thank you in advance.
Updated, as requested in comments by Rob S., to provide more information for future similar questions:
What I'm looking for is a bunch of formulas, any metric system that can be applicable to (or even created for) time estimations on SAP development.
I'm looking for a technic/tool/method to estimate SAP work, duration, cost, something similar to COCOMO II, FP, ESTIMACS or SLIM for SAP development.
If I am reading this right, you are looking for a something to estimate how long it would take someone to program an application. I would doubt an official table actually exists.
Development time is highly variable. Programmer experience, complexity of requirements, clarity of requirements, and dozens of other factors affect how much time development takes. So even if an official table exists, it may not be accurate.
the formulas you made up for illustration purposes in your question are as good as any others - in other words, you are asking for something that is pointless.
the reason is that no formula can account for the truly important variables:
your team
your customer
your environment
your standards and best practices
all of which will have a much larger drag coefficient than any other terms
if you want accurate estimates, ask your developers, and track their accuracy
if you truly think that this sort of thing can be reduced to formulas, please resign as a project manager immediately
I'm not a project manager, I'm only an internship into a SAP team. Due to my experience in other languages I DO know that there are so many variables that it's impossible to automate a estimation of development time.
But I've received the work of search for a "standard table of estimated times" for SAP/ABAP developments and, being a newbie in SAP, I imagined that will could exist any metric standarization.
I think i've suffer a rough joke from my manager...
Sorry for the inconvenience of my question.
You can use Excel, Numbers, Gant charts, to do it manualy but you won't be able to find ANY automated thing for that, you'll have to do it yourself!
Let me guess... you're a project manager?
There is no "one way" in programming, especially not in the highly specialized world of ABAP.
HI, I understand your need...
I'm project manager and estimation specialist, and what you're looking for is a table for estimate effort, por develop ABAP components...
You need a tabulate table, where based on complexity of the component and complexity of the change, yo can get an estimate effort. (this is based in one estimation method called Object Points http://yunus.hacettepe.edu.tr/~sencer/objectp.html)
This effor is only for Codding & Unit Testing, you as project manager (or your project manager!) must to take this estimation as input, but you need to estimate another project factors to get the complete "project estimation"...
I didn't find this table, or some estandar table for bencharmak, so I'm working in a project withing my software factory to build our own table...
I hope this will be helpful for you..
Regards,
this simply doesn't exist. General metrics are so general that are useless. Project Managers should find other ways to make their life easier, like resign, but not try to quantify developments as if peeling potatoes.
Try AboveSoft's new tool, named AboveSoft Predictor. You can download it here www.abovesoft.com
It connects to an SAP system and you can easily (graphically) generate your own estimation templates which are saved in SAP.
Dave.